开发者

Line Graph in windows form app in vb.net

using vs2008 I am trying to create a line graph using vb in a windows form. I have dragged a chart onto the form, and via the properties wi开发者_JS百科ndow, through the series option have changed the type to the graph that I want, which is line. But all the time the data is displayed as a simple bar chart. How do I remedy this please to get the type of chart that I want. Thanks for all and any help


Ah blimey at last I've the answer. The graph was originally put on the form via the designer, but as the data changed I redrew the entire graph not realising that I had to include the line Form1.ChartPlayer1.Series("Series2").ChartType = SeriesChartType.Line

Anyway, thanks to all who looked, I realise that from the vagueness of the question it was hard to help, but at least its solved now.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜