Been trying to figure this out for hours, but with no progress, please help
How do I add text labels for the Axis when setting up a chart?
For example, if the first point should say "Joe" on the X axis, the second point should say "Jane", etc? I want to do it all through code as I will be creating these dynamically
Any help would be so much appreciated! Sorry for the newbie question, but just baffled
Thanks
Dim series As ChartSeries = Me.ChartControl1.Model.NewSeries("Series")
' Set the Text property of the series. This will be used by the legend. series.Text = series.Name
' Add points to the series.
series.Points.Add(1, 400)
series.Points.Add(2, 385)
series.Points.Add(3, 412)
series.Points.Add(4, 467)
series.Points.Add(5, 478)
series.Points.Add(6, 397)
series.Points.Add(7, 355)
series.Points.Add(8, 456)
series.Points.Add(9, 409)
' Set the type of Chart.
series.Type = ChartSeriesType.Line
' Add the series to the
Me.ChartControl1.Series.Add(series)