how to add line graph vb net

The solution for “how to add line graph vb net” can be found here. The following code will assist you in solving the problem.

MyChart.Series.Clear()

MyChart.Titles.Add(“My Chart Title”)

Dim MySeries As New Series
MySeries.Name = “My Series”
MySeries.ChartType = SeriesChartType.Line

‘Use this to add points to your series
MySeries.Points.AddXY(“X Category”, 69)

MyChart.Series.Add(MySeries)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts