Sign in to follow this  
chris.lewis

Error exporting chart (not Flash) to PDF

Recommended Posts

Hello,

 

I've recently converted my flash-based charts to javascript/HTML.  When I clicked the export button I received an error similiar to this post: 

 

http://forum.fusioncharts.com/topic/13827-export-chart-javascript-throws-exceptions/?hl=dangerous

 

To resolve that problem I added ValidateRequest="false" to FCExporter.aspx (web.config already has the requestValidationMode set).  Now, I get a different error.  The error is in FCExporter.aspx.cs (line 1232) on this line of code:

 

    int fRepeat = int.Parse(split_data[1]);
 

The error is:  Index was outside the bounds of the array.

 

Is there a solution/workaround to this problem?

 

 

Thanks in advance

Share this post


Link to post
Share on other sites

Hello,

 

I've recently converted my flash-based charts to javascript/HTML.  When I clicked the export button I received an error similiar to this post: 

 

http://forum.fusioncharts.com/topic/13827-export-chart-javascript-throws-exceptions/?hl=dangerous

 

To resolve that problem I added ValidateRequest="false" to FCExporter.aspx (web.config already has the requestValidationMode set).  Now, I get a different error.  The error is in FCExporter.aspx.cs (line 1232) on this line of code:

 

    int fRepeat = int.Parse(split_data[1]);

 

The error is:  Index was outside the bounds of the array.

 

Is there a solution/workaround to this problem?

 

 

Thanks in advance

Hi,

 

Could you please confirm if you are using the "FCExporter.aspx" file provided in the FusionCharts XT Download Package to export the JavaScript chart?

 

In case yes, please note that the JavaScript charts cannot be exported using the export handler files mentioned in the download package. However, we have found some internal alternative solution to this.

 

For further details on this, please mail us at [email protected].

 

Hope this helps. Awaiting your reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this