LivingLegend Report post Posted March 29, 2010 Hi, 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 Jigar Shah Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 29, 2010 Hi, Could you please let us know whether you wish to export the image at server-side or client-side? Awaiting your reply. Share this post Link to post Share on other sites
LivingLegend Report post Posted March 29, 2010 Hi, I want to export it at client side. When user click on Export button, it should ask to download pdf file and that PDF file should contains charts in it. Means I want to embed charts in PDF files.. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 29, 2010 Hi If I have understood your requirement correctly, I think this is possible with FusionCharts v3. Please see http://www.fusioncharts.com/docs/Contents/ECBatchSetup.html After you set this up, to achieve the whole thing with one click, what you could do is: Export each chart after it is rendered, using javascript. Then click on save All button of the export component and save to PDF. You could also take a look at this: http://www.fusioncharts.com/forum/FindPost24684.aspx Hope this helps. Srividya Share this post Link to post Share on other sites
LivingLegend Report post Posted March 30, 2010 Hi, 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. Thanks LivingLegends Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 30, 2010 Hello Jigar, 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. Srividya Share this post Link to post Share on other sites
LivingLegend Report post Posted March 30, 2010 Hi, But I want to achieve this with one interaction. When I click on export button on site, it should automatically generate one image of all charts and embed it in pdf with my data. How to achieve this? Share this post Link to post Share on other sites
mthaha Report post Posted July 8, 2010 Hi, 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 Thaha Share this post Link to post Share on other sites