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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Facing problem on Dynamic chart type change

Thread ID:





117950 Jan 13,2015 08:28 AM UTC Jan 14,2015 11:19 AM UTC WinForms 1
Tags: Chart
Mudit Kumar
Asked On January 13, 2015 08:28 AM UTC

When i change graph type and graph colour dynamically and apply it,
At the time of calling ShowDialog() getting exception of "Object reference not set instance of a object"
Some one also post this type issue and the anser is in below url.But not able to open the url.


Jayavigneshwaran [Syncfusion]
Replied On January 14, 2015 11:19 AM UTC

Hi Vaibhav,

Thanks for using Syncfusion product.

We have analyzed. We replicated the scenario in our sample, but we are not able to reproduce the issue reported.

Please find the below code snippet to change the type of the series in button click.


private void button1_Click(object sender, EventArgs e)


            this.chartControl1.Series[0].Type = ChartSeriesType.Spline; // series type is changed to spline


We have also made a sample to illustrate this. Find it from the below location.

If you still face any concern, kindly modify the sample and revert back to us with replication procedure.

This will be helpful for us to fix the issue sooner.

Please let us know if you have any concern.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon