Sign in to follow this  
newMan

Exporting Question

Recommended Posts

Hi,

As I know, it need click the save button after the exporting proccer finish when I export chart.

is there anyway to make it auto fire saving event without click the button as soon as finish the progress bar?

Thanks.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

As I know, it need click the save button after the exporting proccer finish when I export chart.

is there anyway to make it auto fire saving event without click the button as soon as finish the progress bar?

Thanks.

 

Hi,

 

You would need to call addEventListener function on the chart reference as the chart gets rendered.

 

Inside addEventListener function, you would need to call the exportChart function.

 

Ref.Code:

myChart.addEventListener("Rendered", function () { FusionCharts("myChartId").exportChart(); } );

 

Also find attached illustration for your reference.

 

Please note, illustration will work according to your server configuration.

 

 

Auto_ExportPHP.zip

Share this post


Link to post
Share on other sites

Hi,

 

You would need to call addEventListener function on the chart reference as the chart gets rendered.

 

Inside addEventListener function, you would need to call the exportChart function.

 

Ref.Code:

myChart.addEventListener("Rendered", function () { FusionCharts("myChartId").exportChart(); } );

 

Also find attached illustration for your reference.

 

Please note, illustration will work according to your server configuration.

 

 

 

Thanks!

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