mysticBoer Report post Posted May 23, 2008 (edited) Good day, We use a DragNode chart to build a network drawing. Everything seemed to be ok until yesterday. For some reason, the chart won`t render in Internet Explorer (only tested in IE7). In FireFox 2.0.0.14 everything is fine. The code used to instantiate the chart: var chart = new FusionCharts("../resources/controls/fusion/PowerCharts_Enterprise/Charts/DragNode.swf", "ChartId", chartW, chartH, "0", "1"); chart.setDataURL("UIHandlers.NetworkDrawing.cls?type=clients"); chart.render("chartdiv"); Note that it's not a static XML file that is used but rather a call to a server side application which generates the XML. This leads me to believe that it might be that the chart is not waiting for the XML in order to render it, in other words, it's doing things asynchronously instead of synchronously? When I do the following: //Get a reference to thechart var ourChart = getChartFromId("ChartId"); //Get the data from chart var xmlRtn = ourChart.getXMLData(); //alert xml alert(xml); I get the chart xml alerted to me with all the data, even in IE, but the chart does not render in IE, although it renders fine in Mozilla/Firefox. Any help appreciated, as this is driving me up the walls! Edited May 23, 2008 by Guest Share this post Link to post Share on other sites
mysticBoer Report post Posted May 23, 2008 Also, when adding the following to check whether the chart rendered, it actually alerts 'TRUE' function FC_Rendered(DOMId){ if (DOMId=="ChartId"){ //Simply alert window.alert("TRUE"); return; } } Share this post Link to post Share on other sites
Pallav Report post Posted May 23, 2008 Can you try reinstalling the Flash Player in IE? Share this post Link to post Share on other sites
mysticBoer Report post Posted May 23, 2008 Re-installed in both IE and FireFox, same problem. I'm also getting this on all the other machines in the office with IE. Unfortunately I cannot test on a IE6 machine here because there isn't one available Share this post Link to post Share on other sites
mysticBoer Report post Posted May 26, 2008 Ok, here is the xml returned by getXMLData(). Can anybody spot anything wrong in this XML that might be causing it to NOT render in IE? <?xml version='1.0' encoding='utf-8' ?> ='1000' yAxisMinValue='0' yAxisMaxValue='1000' is3D='1' showFormBtn='1' viewMode='0' allowDrag='0' enableLink ='1' showformbtn='0' divLineAlpha='0'> Share this post Link to post Share on other sites