Sign in to follow this  
Pallav

Save chart image to server only?

Recommended Posts

Hi all,

 

 

 

I know that you can use javascript to save a chart as an image using a method similar to the following:

 

 

 

var chartToPrint = getChartFromId("chart1Id");

 

chartToPrint.saveAsImage();

 

 

 

and that I need a handler script on the server to process the image saving.

 

 

 

However, when using this method it brings up a 'save as' dialog in the client browser which saves the image to the client. What I would like to do is only save the chart image to a file on the server instead - never showing the client a 'save as' dialog at all.

 

 

 

Is this possible with FusionCharts?

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I'm afraid currently it's not possible to hide the save as dialog box. However, you can modify the server side saving script to save the image on server and thereby not return it.

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