Hi,
I have a set of 3 line series on my chart which is databound using a datatable. This works well and I have the 3 line series displayed as expected.
What I'm trying to do now is to introduce new columns in my datatable which will inform if a given point in a series is special, in which case I want to highlight it (i.e. change the color of that point). I was thinking I can achieve this by adjusting the color while looping through SeriesItems. However, SeriesItems is empty.
Right after binding, I inspect the series and I see 3 series as expected. But when I inspect the SeriesItems (or Items), they are empty.
Both object below are empty after binding, yet the chart displays fine.
Chart.PlotArea.Series[0].Items
I have a set of 3 line series on my chart which is databound using a datatable. This works well and I have the 3 line series displayed as expected.
What I'm trying to do now is to introduce new columns in my datatable which will inform if a given point in a series is special, in which case I want to highlight it (i.e. change the color of that point). I was thinking I can achieve this by adjusting the color while looping through SeriesItems. However, SeriesItems is empty.
Right after binding, I inspect the series and I see 3 series as expected. But when I inspect the SeriesItems (or Items), they are empty.
Both object below are empty after binding, yet the chart displays fine.
Chart.PlotArea.Series[0].Items
(Chart.PlotArea.Series[0] as LineSeries).SeriesItems
Any ideas?
Thanks,
A