Sign in to follow this  
rite2mario

Is Exporting Of Chart To Pdf On A Click Of A Button Possible Instead Of The Default Right Click Of The Chart

Recommended Posts

Hi Team,

 

Is it possible to export a chart to pdf or an image on click of a button in asp.net instead of the default right click on the chart.

If you could please suggest me a solution or a work arround it will be really helpfull

 

thanks ,

 

Mario Noronha.

Share this post


Link to post
Share on other sites

You can do this using the exportChart API function provided by each chart.

All you need to set a button that will run at client and call a JS function which in turn will call chart's exportChart() function.

 

Please check the implementation in plain HTML and the JS code (form source) from here:

http://www.fusioncharts.com/Demos/ExportChart/Contents/client_export.html

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