Sign in to follow this  
Shiva Suvarna

Server-Side Exporting Chart

Recommended Posts

Hi,

 

when I do right-click->save as jpg in the chart it does nothing. The pop-up window that lets you choose where to save is not opening.

 

I have added all attribute to chart like (export enabled...), but the capturing popup comes up after that nothing happens.

 

Thanks.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

when I do right-click->save as jpg in the chart it does nothing. The pop-up window that lets you choose where to save is not opening.

 

I have added all attribute to chart like (export enabled...), but the capturing popup comes up after that nothing happens.

 

Thanks.

 

Hi,

 

Which export functionality are you trying? client-side or server-side export?

 

Also, can you paste your sample code and XML code here? It would be helpful to look into it.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

I'm trying for server-side export,here i'm attaching the sample code.

 

Take a look at it once.

 

Thanks

 

Hi,

 

You would need to set the proper path of FCExporter file in the exportHandler attribute.(according to the location of files) under the chart element.

 

Also, you would need to set the path in FCExporter file. for ex: if you are using FCExporter.php, you would need to set path in the define("SAVE PATH,"./") function as well as in define ( "HTTP_URI", "path of the folder in which FCExporter file exists" );

 

Please try to set following attributes for exporting at server-side, under the chart element.

exportEnabled='1'

exportHandler='FCExporter file path'

exportAtClient='0'

exportAction='save/download' (you can use use save or download option here)

 

Ref. Code:

<chart ... exportEnabled='1' exportHandler='FCExporter file path' exportAtClient='0' exportAction='save'>

 

Find attached illustration for your reference.

Export_PHP.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