Sign in to follow this  
rmdurkin

Exporting to Server Extremely Slow

Recommended Posts

I am using the commercial version of FusionCharts (3.2.1).

 

I am using FusionCharts with a Java/J2EE Web application, utilizing the fcexporter and fcexporthandler jars.

 

My application attempts to perform an export of one or more charts to the server by invoking the exportChart Javascript method as follows:

 

FusionCharts('theChart').exportChart({ exportFormat: 'JPG' });

 

My code follows the example for server-side export as found in the FusionCharts documentation.

 

The problem is that this process takes a very long time.  I am finding that the server-side code is taking upwards of 5 minutes to create the image and respond back to the client with the Javascript callback.

 

The charts that I am working with are not large or complex, they are about as simple as you can get.

 

Any ideas as to why this process is taking so long?  This feature is basically unusable with such slow performance.

 

Thanks,

Rob

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum  :)

 

We have created a sample demo using the latest version of FusionCharts v3.3.1 SR1 for exporting Flash charts in Java/J2EE web application. Can you please deploy it at your end and let us know the time it takes to export the chart? The chart usually takes some milliseconds (less than a minute)  to get exported. 

 

Can you please check if you have implemented in the similar way? If not, can you please try modifying your code and let us know if it works?

 

Awaiting your response.

 

ExportDemo.zip

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