bagus sutan Report post Posted February 8, 2010 Hi, I'm trying to export realtime chart using button with the example given: function ExportMyChart() { var chartObject = getChartFromId('chartStag'); if( chartObject.hasRendered() ) chartObject.exportChart(); } and come up with the follwing error: Line: 106 Error: Object doesn't support this property or method which line 106 is: if( chartObject.hasRendered() ) any idea why? Regards, Bagus sutan Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted February 9, 2010 Hi BAgus, Could you please send us the sample code that you are using? Awaiting your reply. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 9, 2010 Here we go.. Thanks for the reply, Bagus Sutan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 9, 2010 Hello, In your export function please check if you have provided the id of the chart to get the reference of the chart object from its id. function ExportMyChart() { var chartObject = getChartFromId(Id of the chart); if( chartObject.hasRendered() ) chartObject.exportChart(); } Share this post Link to post Share on other sites
bagus sutan Report post Posted February 9, 2010 (edited) Hi, as you can check my file, i think i've supplied the id as: function ExportMyChart() { var chartObject = getChartFromId('chartStag'); if( chartObject.hasRendered() ) chartObject.exportChart(); } and the chart id for that div is: This text is replaced by the Flash movie. Awaiting your reply. Regards, Bagus Sutan Edited February 9, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 9, 2010 Hello Bagus, In the sample file you attached the id of the chart provided by you is ChID. and the chart object is named as chartStag. Share this post Link to post Share on other sites
bagus sutan Report post Posted February 10, 2010 Great. It works thanks. Sorry for being confused. Regards, Bagus Sutan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted February 10, 2010 Hi, You are most welcome. I am glad that your issue has been resolved. Happy FusionCharting. :") Share this post Link to post Share on other sites