How to Export chart in PDF
Posted 29 March 2010 - 07:35 AM
I have 5 charts in my application. 1 is Bar chart and 4 are pie charts.
I have one button "Export" which when clicked, all the charts should be exported to PDF file.
Actually, I have to create report in which I have to embedded charts in it.
So, is there any functionality or way to achieve this?
Waiting for any reply...
Thanks and Regards
Posted 29 March 2010 - 10:10 PM
If I have understood your requirement correctly, I think this is possible with FusionCharts v3.
Please see http://www.fusioncha...BatchSetup.html
After you set this up, to achieve the whole thing with one click, what you could do is:
Then click on save All button of the export component and save to PDF.
You could also take a look at this: http://www.fusioncha...dPost24684.aspx
Hope this helps.
Posted 30 March 2010 - 01:41 AM
Thanks a ton for reply.
These links are very useful for me but I have some more requirements.
Actually, I have some other data which I have to include in pdf file.
My report will contain some data from database and fusion charts both.
So, when I click on export button, request will be sent to server side, where it will retrieve some data from database,
then it should include those data and charts in pdf file, which server send to client (by setting appropriate MIME type in response).
Client should get download popup to download pdf files with above data.
Hope, you clear with my requirements.
Posted 30 March 2010 - 06:31 AM
In order to create a pdf with data and charts, on server side, you would have to do some custom coding.
Other users have been able to achieve this by writing their own code for writing pdf.
I can provide you with the general idea.
You would need to export all the charts as a single image and then include it within the pdf that you would generate on server side.
Hope this helps.
Posted 08 July 2010 - 04:22 AM
I have same requirement need to do. I have a full html page with contents including fusion charts , other images and text contents. Is there any provision in fusion chart to export whole content in pdf format.
Thanks in advance !
with best regards