cisco2103 Report post Posted May 6, 2008 I am looking through this forum and not really finding what I need. I am trying to load a chart and my a user clicks export to PDF or Excel, save the chart as an image and then I can attach the image to a PDF or excel sheet. I can't imagine the only way to save an image is to right click save. Any help on this would be great. Thanks, Cisco2103 Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 6, 2008 Hi, You can also use JavaScript API saveAsImage() to save the chart as Image. Please refer to the Documentation : http://www.fusioncharts.com/docs/Contents/JS_saveAsImage.html Share this post Link to post Share on other sites
atiq576 Report post Posted June 15, 2008 Hi, So using javascript API means that we can call that javascript function saveAsImage() from backend (without letting user know) that function will save image to a fixed location and then we can use that image to be used in pdf and stuff.... Am i understanding it correctly? We are using fusioncharts for our site and its been great but we need this very importaant feature.... Also to use this feautre we have to purcahse the licenece? pre-thanks, Atiq Share this post Link to post Share on other sites
FusionCharts Support Report post Posted June 17, 2008 Hi Atiq, Yes the API could be run at backend (client side) without letting the user to know or interfare. But, this function would POST the image data to a serverside script to generate the image. Hence, you wish can be fulfilled this way. Share this post Link to post Share on other sites
atiq576 Report post Posted June 17, 2008 (edited) Hi, Thanks for the quick reply... Its running on clients side becuase it generates image on the loaded flash graph ya? Also to use this imaeSave feature do we have to purchase a lienced version of fusion chart? Edited June 17, 2008 by Guest Share this post Link to post Share on other sites
atiq576 Report post Posted June 18, 2008 Hi, If this feature can only be used after purchasing is there a way we can test this feature with out purchasing the licence and then if worked can purchase the licencec....? Also read my post above... Regards, Share this post Link to post Share on other sites
Rahul Kumar Report post Posted June 19, 2008 (edited) Hi!, Could you please download the latest evaluation version (3.0.6) from FusionCharts Download section? The evaluation version supports all the features available in license version. Regards, Rahul. Edited June 19, 2008 by Guest Share this post Link to post Share on other sites
atiq576 Report post Posted June 24, 2008 (edited) Hi, I used that and it is working perfectly... One more thing that we need is to hide the loading screen...how can we hide the screen...?I want to create an image without letting user know of any thing....also can we create this swf in the backed...that is not showing user that too.. Actually what i want is to generate a PDF containing tables and this image. so I will not have swf so i want this all done in backend...? Please advise... Thanks, Edited June 29, 2008 by Guest Share this post Link to post Share on other sites
JohnBannister Report post Posted September 2, 2008 In the documentation for saving as an image dynamically it says this "If you intend to save the chart soon after the chart has loaded, make sure to put the saveAsImage() command in FC_Rendered event; otherwise, the exporting will get invoked before the chart has started rendering, and you'll get a blank image." How do I include the command in the FC_Rendered event? Do I need the source code version? Thanks a lot John Share this post Link to post Share on other sites