master.blaster Report post Posted August 19, 2008 I use the following JS function to (attempt to) save my gantt chart as an image. function FC_Rendered(DOMId) { chart1Id.saveAsImage(); } This works for all of my other charts but when I call it for my gantt chart I get the "is not a function" error in Firefox and IE. I have also tried making the saveAsImage function available for a click action (on a div, form button, whatever) and get the same result. I know that the version of my .swf matters but as far as I know I have v3. Is there a way to tell what version I have? Any help is greatly appreciated. -David Share this post Link to post Share on other sites
Rahul Kumar Report post Posted August 20, 2008 (edited) Hi, You can use chart's debug mode to know the version information. However you can also download our latest FusionWidgets, which supports saveAsImage feature(if called from JavaScript). Edited August 20, 2008 by Guest Share this post Link to post Share on other sites
master.blaster Report post Posted August 20, 2008 Thanks for your reply. So I used debugging and discovered I have version 3.0.1, which seems to be the latest. Mine is from the Enterprise edition, but when it was called FusionGadgets. But I see no difference between the two Gantt.swf files. So, assuming my version is not the problem, what is going wrong here? I get no errors from the debug. I am able to right-click from the browser and save the file, but not able to call a JavaScript function to save the file. I have even tried using the document.getElementById method. This works for all of my other .swf chart files. Is it possible to save a gantt chart as an image using JavaScript? Thanks again. -David Share this post Link to post Share on other sites
Rahul Kumar Report post Posted August 21, 2008 Hi, I am afraid the version you have is not the latest version, our latest version is v3.0.2 which supports "Invoke Image saving feature from JavaScript". Share this post Link to post Share on other sites