mysticBoer

DragNode chart not rendering in IE

Recommended Posts

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 by Guest

Share this post


Link to post
Share on other sites

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now