We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Dual Axis Chart

Hi,

I wants to create a dual axis chart something like the attached screen. Mainly creating two series on different different axis.

Can you please tell me how can i create this kind of chart.

Hi Amit,


I have observed the requirement shared and like to share that Aspose.Slides allows you to plot the individual chart series either or primary axis or on secondary axis. By default, the series is rendered w.r.t. primary axis. However, if you use the following sample code, it will get rendered w.r.t secondary axis. I hope this information will be helpful. Please share if I may help you further in this regard.

Many Thanks,

Hi,

I guess you forgot to add the code sample with the response. Can you please let me know.

Thanks,

Amit

Hi Amit,


I am sorry for missing the sample code. Please try using following sample code line in your code for any series that you want to map w.r.t secondary axis.

series.PlotOnSecondAxis = true;


Many Thanks,