Sign in to follow this  
albertoloss

Export Fusion Chart

Recommended Posts

Guest Bindhu

Hi,

 

Welcome to the FusionCharts Forum :)

 

Thank you for the post.

 

Starting FusionCharts v3.0.7, you could export your charts as images.

And FusionCharts v3.1 adds new dimensions to it, by allowing you to export as PDFs as well, and also lets you choose whether to export the charts at client-side or server-side.

 

Export at client side:

For enabling export of chart at client-side, we'll need to assemble the following elements:

1. The chart itself embedded using FusionCharts JavaScript class (FusionCharts.js). Here, we assume that you have been able to generate the chart for your page. If not, please refer to the relevant section of our documentation.

2. FusionCharts Export Component - This is named FCExporter.swf and is present in Download Package > Charts. You'll need to copy-paste this SWF to your server. A good location would be to place this SWF along with your chart SWFs.

3. FusionCharts Export Component JavaScript class - This JavaScript class is named FusionChartsExportComponent.js and is present in Download Package > Charts folder. Place it where you've placed FusionCharts.js on your website (though not necessary, but this helps you centralize all FusionCharts related JS files)

 

For more details on 'Exporting Charts as PDF or Images > Client-side export > Simple Example', please refer to the link below,

http://docs.fusionch...ientSimple.html

 

Export at Server side:

When exporting the charts as images/PDFs using server-side Export Handlers, there are two actions that you can choose from:

1. Download to end user - Return the generated image/PDF back to the client (browser) for downloading

2. Save on server disk - Save the image on server-disk and return the URL of the same to callback JavaScript functions

 

For more details on 'Exporting Charts as PDF or Images > Server-side export > Returning the exported output as download', please refer to the link below,

http://docs.fusionch...erDownload.html

 

For more details on 'Exporting Charts as PDF or Images > Server-side export > Saving exported output on server disk', please refer to the link below,

http://docs.fusionch...ServerSave.html

 

Hope this helps !

 

Happy FusionCharting :)

Edited by Bindhu

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Thank you for the post.

 

We are glad to know that your issue has been resolved :)

 

Happy FusionCharting :)

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