How often does this happen to you – you create a stunning information-intensive chart after a lot of hard work for your web page and then intend to embed the same in your annual report? Or mail it to one of your colleagues? But since you have no easy way to export the chart from the web page, you have to create the chart all over again.
What if all of that could be done as simply as in the screenshot below?
Yes, with FusionCharts Suite XT, you can do it with one single click.
Any chart in FusionCharts v3.1 can be configured to be exported as an image (JPEG or PNG) or a PDF file by the end user. This can be done either on the server-side or on the client-side. Before we get into slightly technical details of the same, here’s a live demo of the same that you might want to see to get a better grasp of things.
Now, FusionCharts by itself cannot directly export the charts as images. It needs help either from server-side scripts, or other client side Flash movies (coded in Flash 10) to accept the bitmap snapshot sent by FusionCharts, and to convert that into an image or PDF. These are called FusionCharts Export Handlers.
The export handlers come in 2 flavors: Server-side Handlers & Client-side Handlers. Let’s look into each of them in details.
Server-side Export Handlers
The server-side export handlers help you export FusionCharts as images/PDF with the help of scripts that are placed on your servers. We provide ready-to-use scripts for ASP.NET, PHP (uses GD and GZIP library), Ruby on Rails (uses RMagick and zlib) and Java in our Download pack itself. These scripts accept compressed bitmap data from FusionCharts (over HTTP or HTTPS) and convert the same into images/PDFs. Post conversion, you’ve two options:- Save the generated output (image/PDF) on the server’s disk. This allows you to use these images later for embedding in your emails/reports.
- Or, send it back to the browser so that your user can download it.
Michael Schurter (schmichael)
May 7, 2009, 10:10 pmPython users can grab server-side export code here:
https://bitbucket.org/schmichael/python-fusioncharts/
There’s code for Django and a custom CherryPy based Python web framework.
The client-side export code doesn’t work for me in Ubuntu 9.04.
Jason
June 18, 2009, 11:34 amHello,
is it possible in Fusionchart-Free to export in PDF or just for V3-1
Sudipto Choudhury
July 4, 2009, 5:14 amHi Jason,
I am afraid, export to PDF (or any other export feature) is not available in FusionCharts Free.
You need to use FusionCharts v3.1 or above to avail the Export to JOG/PNG/PDF feature.
Shanmukha
August 31, 2009, 7:53 amWhile saving as images at server-side, I am getting applet alerts. Hoe to disable these alerts??
parxier
November 9, 2009, 4:19 amSudipto,
You should fix this page:
https://www.fusioncharts.com/free/docs/Contents/v3vsFree.html
It says:
Export Chart as Image/PDF
FusionCharts v3: No
FusionCharts Free: Server-side and client-side export to JPG, PNG and PDF
I believe it’s other way around. I wish it is the way it says it is! 🙂
Sanket (FusionCharts Team)
November 20, 2009, 7:31 am@Parxier: Done. Thanks a lot for pointing it out. And sorry we could not grant your wishes here 🙂
Ranc2
February 8, 2010, 8:15 pmHi,
Would I need batch export in order to export the chart and its grid on the same file ?
If so, am I obliged to user client-side export ?
I’ve already implemented chart server-side export, and it works fine, until I found out the chart legend (namely the grid) is not found on the exported pdf.
Thanks
Sanket (FusionCharts Team)
February 9, 2010, 5:49 pm@Ranc2: I am afraid grid does not support export feature. As of now batch export is supported at client side until and unless you take some time to modify the export handler code to reopen existing exported image/PDF file (at server) and keep on appending the new images to it.
Marcelo
February 24, 2010, 2:04 pmHi,
About batch export. Is there a way to generate the graphs on the server-side by a periodic process started on the server by a timer to send them?
Ankit Agarwal
May 14, 2010, 5:52 amHi,
Any one know how to export the scroll charts in jpg
waiting for reply
Sanket (FusionCharts Team)
May 17, 2010, 9:10 am@Ankit: We have a thread in our forum on the same topic – https://www.fusioncharts.com/forum/Topic26277-31-1.aspx
Meghana
June 8, 2010, 10:45 amif v click export n click on other tab it wont get camptured in mozilla
Johny
July 9, 2010, 5:31 pmHow to find out the version of the fusion chart in use.
Sanket (FusionCharts Team)
July 14, 2010, 10:30 pm@Johny: Use the debug window to find out the version – https://www.fusioncharts.com/docs/Contents/Debug/Window.html
izzy
July 23, 2010, 8:33 amHi,
The version of my fusion chart is 3.0.6.
am I able to do a server-side export?
Thanks.
Sanket (FusionCharts Team)
July 26, 2010, 2:09 pm@izzy: Nope, but you can upgrade to v3.1 and use server-side export.
MaK
September 17, 2010, 12:58 pmExporting the scrollable charts in full has come in to picture now or still in cards.
If this functionality is available now, do me a favour by sending the link where I can find more about that particular feature.
Thanks in advance.
Michael Mofokeng
June 27, 2011, 7:23 pmIs it possible to export charts using fusion charts free?
Sanket Nadhani
June 28, 2011, 1:27 pmNo Michael, only FusionCharts v3 supports chart exporting.
Neil Marks
October 30, 2012, 9:22 pmAre there any options available for adjusting the quality of the images created via the export process?
Swarnam
November 5, 2012, 10:38 pmNo. We do not have any options available for improving the quality of the exported charts. Currently images rendered by FusionCharts Export Handler exports is 72 DPI.
B.V.Rami Reddy
November 16, 2015, 3:53 pmDear Swarnam,
it is possible to export the charts with high quality.. just follow my instruction.
1. just add the below attribute to your fusioncharts. i.e
“exportFormats”: “PNG=Export as High Quality PNG | PDF=Export as PDF File”
or
2. follow the below link instructions.
https://www.fusioncharts.com/dev/exporting-as-image-and-pdf/server-side-export/configuring-export-feature.html
🙂 happy coding
kasireddi yernieswararo
January 8, 2013, 10:08 amHi,
I am exporting fusion charts by saving in some [available ex: pdf ] format . Even though i disabled some graphs of chart by using legend after exporting i am getting the full chart.
How to export the chart with some of the graphs disabled.i.e by using legends.??
Please help me.
Thanks,
–kasiredd.
Swarnam
January 23, 2013, 10:38 amHi,
It is possible to export the current state of the chart rendered both in Flash/JavaScript mode.
Please Note: Starting FusionCharts XT SR5, JavaScript charts can export the current state of the charts.
If the issue is not resolved, please send us the sample code to “[email protected]”
Aneesh
April 17, 2013, 8:21 pmI have 6 charts rendered in a page. I am calling exportChart function on click of a button. The charts start capturing images only if it is visible. So every time I need to scroll down to save the below charts. What would be the reason. I am stuck with this. Waiting for a reply
Swarnam
April 18, 2013, 1:02 pmHi Aneesh,
Since Flash charts depend on the Flash player, the charts has to be rendered in the viewable area for exporting. To render the charts in the non view-able area, we have created workaround.
“scroll.js” has been created internally which helps you to render the charts in non-viewable area and helps in Batch Exporting of all the charts.
If you require the same, please drop a mail to <[email protected]>.
ernie
May 5, 2015, 6:11 pmDoes the export function work on a windows web server?
Vikas Lalwani
May 21, 2015, 2:47 pmYes! You’ll find this page helpful:
– https://www.fusioncharts.com/dev/usage-guide/interactivity/exporting-as-image-and-pdf/setup-private-export-server-asp-net.html
Export handler is included in the download package.
Srinivas Patlolla
July 3, 2015, 5:48 pmHi,
How to export the multiple charts at a time and some of them are not visible in screen ( Those will visible if we scroll down )