raviborra Report post Posted March 27, 2012 (edited) Hi, I am frustrated with one bug, I have function call var chartObj = getChartFromId(id);. below code in FusionCharts.js file perfectly works IE but not in Firefox and Chrome. In case of Chrome and Firefox it returns null(chartObj is null), but in case of IE it is chart object and I can use setDataXML to change chart XML. window.getChartFromId = function (a) { return f.core.items[a] instanceof f.core ? f.core.items[a].ref : f.swfobject.getObjectById(a) }; function getObjectById(a) { var r = null; var o = getElementById(a); if (o && o.nodeName == "OBJECT") { if (typeof o.SetVariable != w) { r = o } else { var n = o.getElementsByTagName(OBJECT)[0]; if (n) { r = n } } } return r } Please help me. Thanks & Regards, Ravi. Edited March 27, 2012 by raviborra Share this post Link to post Share on other sites
FusionCharts Support Report post Posted March 27, 2012 Hi, If you are using FusionCharts v3.2 or FusionCharts XT, we recommend to use FusionCharts(id) or FusionCharts.items(id) . Hope this helps Share this post Link to post Share on other sites
raviborra Report post Posted March 27, 2012 Hi, If you are using FusionCharts v3.2 or FusionCharts XT, we recommend to use FusionCharts(id) or FusionCharts.items(id) . Hope this helps Share this post Link to post Share on other sites
raviborra Report post Posted March 27, 2012 Hi, We are using 3.2.1 release site license, the above code doesn't work. I tried both of them. I am wondering how come it is working seemlessly in IE9 and why not Firefix and Chrome, BTW it is IE 9, chrome 17.0.963.83 m and FireFox 11 version. Thanks, Ravi. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted March 29, 2012 Hi, Can you please paste your HTML code and XML here? It would be helpful for us to look into the issue. Awaiting your response. Share this post Link to post Share on other sites