Exporting Chart

Hi

I'm using Syncfusion version 4.4.0.51 with VS.NET 2005, I'm trying to export a chart with 2 yaxis to excel. How do I get the 2nd yaxis to show on the right hand side of the chart in excel. I can get it to export but the 2nd yaxis isn't visible at all.

Here's some of my code I used to get the third line to use it's own values:

series3.UsePrimaryAxis = False

chart.SecondaryValueAxis.MaximumValue = ChartWebControl.Axes(2).Range.Max()
chart.SecondaryValueAxis.MinimumValue = ChartWebControl.Axes(2).Range.Min
chart.SecondaryValueAxis.MajorUnit = ChartWebControl.Axes(2).Range.Interval

By doing the above the third line in my chart has the correct values, now I just need the yaxis showing on the right hand side.

Please help.

2 Replies

JA Jacques October 16, 2007 03:53 PM UTC

Sorry, I'm using version 5.2.0.25.

>Hi

I'm using Syncfusion version 4.4.0.51 with VS.NET 2005, I'm trying to export a chart with 2 yaxis to excel. How do I get the 2nd yaxis to show on the right hand side of the chart in excel. I can get it to export but the 2nd yaxis isn't visible at all.

Here's some of my code I used to get the third line to use it's own values:

series3.UsePrimaryAxis = False

chart.SecondaryValueAxis.MaximumValue = ChartWebControl.Axes(2).Range.Max()
chart.SecondaryValueAxis.MinimumValue = ChartWebControl.Axes(2).Range.Min
chart.SecondaryValueAxis.MajorUnit = ChartWebControl.Axes(2).Range.Interval

By doing the above the third line in my chart has the correct values, now I just need the yaxis showing on the right hand side.

Please help.


AD Administrator Syncfusion Team October 18, 2007 10:04 AM UTC

Hi Jacques,

Thank you for your interest in Syncfusion products.

Please follow up the incident created in this regard.

Regards,
Jaya

Loader.
Up arrow icon