Category / Section
How to customize data points for the chart series?
1 min read
We can customize the data points by exposing IChartSeriesIndexedModel interface to the series. The default series store is a implementation of IChartSeriesModel. By implementing this interface, we can set it as the data underlying.
Using SeriesModelImpl property we can set an instance of the IChartSeriesModel underlying the series. Use this property to replace this instance with our own implementation.
C#
//Customize data points using IChartSeriesModel Interface
series1.SeriesModelImpl = new NonIndexedModel(new double[] { 2, 5, 3, 4, 6 }, new double[] { 10, 33, 20, 43, 12 });
VB
'Customize data points using IChartSeriesModel Interface
series1.SeriesModelImpl = New NonIndexedModel(New Double() {2, 5, 3, 4, 6}, New Double() {10, 33, 20, 43, 12})
Did not find the solution
Contact Support