Sign in to follow this  
tonyleblanc

Chart Exporting - Page Refresh

Recommended Posts

Hello,

 

I just followed the instructions to setup exporting. If I make some changes to the xml and refresh the page, I can export it however the Save button is never comes back? If I do a Shift F5, than it works again.

 

How can I re-initialize this exporting functions?

 

-Tony

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please send us a scaled down sample to look into the issue?

 

Please confirm the FusionCharts version you are using.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please send us a scaled down sample to look into the issue?

 

Please confirm the FusionCharts version you are using.

 

Awaiting for your response.

 

He is using XT. The issue is that when you refresh the page, the data 'may' be new, so, he should in fact regenerate the saved image after a page refresh as you can not be certain what has changed between refreshes. Therefore, the code currently uses jQuery to empty() the contents of the export <div> that held the export button and destroys the FusionCharts export object, as the refresh may have included a whole new Graph and without emptying the <div> and destroying the object, you could get an old graphic if the 'Save' button were pressed without first using the context menu to 'Create' a new image.

 

My question, as we worked on this together is, why is the save operation so slow? If I were using a GD library, in PHP for example, it should/would take milliseconds to render such an image. In either case, enjoying FusionCharts!

 

TheWitness

Edited by TheWitness

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