Sign in to follow this  
sunshine

Issue in IE while exporting the fusion chart to pdf

Recommended Posts

Hi all,

 

 

 

I have included fusion charts in my application which is developed in php.

 

Also there's an option to export the fusion chart to pdf. (First the fusion chart is saved as image and then export to pdf using HTML2PDF option).

 

It works fine in all browsers except IE7 and IE6.

 

The problem is ,

 

The Path of the image saving script is given in imageSaveURL. But after saving the image, the url directly appears in the browser location and nothing will happen. It wont output the pdf generated.

 

 

 

Can anyone suggest me an option?

Share this post


Link to post
Share on other sites

Hi,
 
Could you please try using the attached file?
 
It contains a sample application created in PHP, you need to execute BasicChart.php application.

This application is design in such a way that, when charts finishes it rendering, Chart automatically invokes SaveAsImage event and calls FusionChartsSave.php (which is our core script, that handles rest of the requests) saves the chart image into a pre-defined file name, And after saving chart's image into the file it redirects to the previous location from where it were called.

 
In your case you would need to add your redirect path to the Data.XML file like this:
 
imageSaveURL='/php/FusionChartsSave.php?redirect=BasicExample/BasicChart.php?image=done'
 
Also you can remove "image=done" because we have given this just to ensure that image saving method called just for one time.
 

FusionCharts_ImageSaveInPHP.zip

Edited by Guest

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