Sign in to follow this  

How To Export Multiple Charts And Save Them On The Server

Recommended Posts



I am just wondering, what would be the best way to implement the server-side exporting for multiple charts? For example, I have a page with 3 charts on it and I want them all to be exported to the server and saved as images which I can reference later on.


Can anyone give me some pointers please? Thanks

Share this post

Link to post
Share on other sites
Guest Sumedh

Greetings, smile.gif


You would need to use exportChart() function for each chart on the page.


Please note, exportChart() function should be used with different DOM Id's.


Refer the following code:


Ref. code:


<script type="text/javascript"><!--

function ExportMyCharts(){

var chartObject1 = getChartFromId('myChartId1');

if( chartObject1.hasRendered() )



var chartObject2 = getChartFromId('myChartId2');

if( chartObject2.hasRendered() )



Also, you would need to change the path for ExportHandler file(FCExporter file - php/aspx).


You would need to set export related attributes under the chart element.


exportHandler='link of the exporthandler file'





Please find attached sample code for your reference.


Hope this helps. smile.gif

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