raviborra Report post Posted March 27, 2012 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. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted March 27, 2012 Hi Ravi, 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