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. Image for the cookie policy date
close icon

System.ArgumentException

Hi All,

I was facing one problem while adding the axis to chart control.

below is my code:

ChartAxis axis = new ChartAxis();
this.Chart.Axes.Add(axis);
series.YAxis = axis;

this.Chart.Axes.Add(axis); -> it throwing exception for me.
i attached my screen shot also,Please anyone reply me as soon as possible, because it is very very urgent for me.

Thanks and Regards
K.Sathishkumar

untitled36.zip

1 Reply

RR Ramya R Syncfusion Team March 1, 2007 05:54 AM UTC

Hi Satishkumar,

Thank You for your interest in Syncfusion Products.

I tried to reproduce the condition that you have mentioned here by creating a sample with a series of StepLine type and with a secondary axis added to the ChartAxisCollection of the ChartControl but I was not able to reproduce it.I have attached the sample with this post.

Could you please modify the sample to reproduce the condition that you have mentioned here and send it back to us?

Thanks & Regards,
Ramya.


ChartAxisSample.zip

Loader.
Live Chat Icon For mobile
Up arrow icon