Len4a Veretilo Report post Posted October 20, 2010 Hi all! I need your brilliant minds! I am very newbie in FusionCharts, so I need yopu help. <html><head><title>Sfront</title><META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT="-1"> <script type="text/javascript" src="../../../FusionCharts/FusionCharts.js"></script> <table> <tbody> <tr> <td><div id="chartForm:div7539" style="text-align: center; margin: 20px 40px; width: 280px; height: 380px; float: left;"> <div style="font-size:22px; height:30px; margin: 0px auto; white-space:nowrap;"> <span id="chartForm:inplaceInputId1816787239">Department:DrammenPapirEngros</span></div> <!-- START Script Block for Chart null--> <div id="nullDiv" align="center"> Chart. </div> <script type="text/javascript"> var chartLen4a = new FusionCharts('../../../FusionCharts/AngularGauge.swf', 'myChart', '280', '320', '0', '1'); chartLen4a.setDataURL("DepartmentDrammenPapirEngrosSpeedometerDay.xml"); chartLen4a.setTransparent(true); chartLen4a.render(nullDiv); </script> <!--END Script Block for Chart null--> </div> <script type="text/javascript"> function FC_Rendered(DomID) { var chartObject = getChartFromId(DomID); chartObject.exportChart(); } </script> <input type="button" value="Export My Chart" onclick="FC_Rendered('myChart')" /> </td> </tr> </tbody> </table> </table></body></html> when I am push the button I get the error "exportChart is not a function". What am I doing wrong? I use last FusionCharts 3.2 version. Thanks for any help! Share this post Link to post Share on other sites
Len4a Veretilo Report post Posted October 21, 2010 Hi all! I figure out that exportChart() method doesnt work when you open the page with this JS as standalone page. But if you open it as a part of web app (I am using tomcat 6.0 to do it) - I dont get this error, but it seems don't work either. How can I check - if I save swf as image, where are images saved (what folder), how I can control the proccess of saving? Please - help me) Thanks! Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 21, 2010 Hi, Please try enabling the Global Security Settings for Flash Player. Please refer to the links below for further details :- Ref.- http://www.fusioncharts.com/Tools/FlashPlayerSecuritySetup/HowToSetup.html Could you please send us the XML code that you are using? Awaiting your reply. Share this post Link to post Share on other sites