andrei

Chart Export Callback

Recommended Posts

Hi,

I have the following problem: My chart is being refreshed every 5 sec, the chart export time is bigger then 5 sec, so I need to start / stop the refresh when the export begins/ends.

 

I'm using server side exporting and the export is done via JS:

 

function saveChartAsImg() {

var chartObject = getChartFromId(chartId);

if( chartObject.hasRendered() ) {

chartObject.exportChart({exportCallback : 'saveChartAsImgCallback'});

}

}

 

My XML looks has the options:

"exportEnabled", "1"

"exportAction", "download"

"exportShowMenuItem", "0"

 

I need the "exportAction" set to "download" but then the callback will not work anymore.

What sholud I do ? :)

 

Thanks in advance ! :D :D :D

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