We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to customize data points for the chart series?


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.


//Customize data points using IChartSeriesModel Interface

series1.SeriesModelImpl = new NonIndexedModel(new double[] { 2, 5, 3, 4, 6 }, new double[] { 10, 33, 20, 43, 12 });


'Customize data points using IChartSeriesModel Interface

series1.SeriesModelImpl = New NonIndexedModel(New Double() {2, 5, 3, 4, 6}, New Double() {10, 33, 20, 43, 12})

Article ID: Published Date: Last Revised Date: Platform: Control:
74 04/30/2011 07/10/2014 Windows Forms Chart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.