k1rby Report post Posted June 15, 2010 Hi, I'm trying to make my charts export server-side automaticaly on page load. So I added this JS function in my page: function FC_Rendered(DomID) { var chartObject = getChartFromId(DomID); chartObject.exportChart(); } The problem is I'm getting this error message : "chartObject.exportChart is not a function" Any idea ? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 17, 2010 Hi, Welcome to FusionCharts forum. Could you please re-check whether you have enabled the 'RegisterWithJS' attribute or not? Ref.- <script language="JavaScript"> var chart1 = new FusionCharts("../../FusionCharts/Column3D.swf", "chart1Id", "400", "300", "0", "1"); chart1.setDataXML("<chart><set label='A' value='10' /><set label='B' value='11' /></chart>"); chart1.render("chart1div"); </script> In case it still does not solve your issue please try updating your chart from the link mentioned below :- Re.- http://www.fusioncharts.com/puc/ Hope this helps. Share this post Link to post Share on other sites
woodburndesigns Report post Posted August 6, 2010 Hi I am receiving the same error. I don't see hasRendered being defined in any of my files. exportChart is in the source but it still says that its not a function. I tried doing a console.log on the chart object and I definitely have the chart. Why would this not work? Also I have all the latest files. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted August 9, 2010 Hi, Could you please send us the code that you are using, as an attachment? Awaiting your reply. Share this post Link to post Share on other sites