Sign in to follow this  
Pallav

Gantt Chart Rendering

Recommended Posts

Hi,

 

I am trying to render Gantt Chart using the setDataXML method. I am streaming the chart Xml from the server and on the browser setting the text to the setDataXML method and then rendering the chart to a DIV. But i am getting an "Invalid xml data" message. Heres the xml being sent from the server side.

 

 

 

 

 


var chartXML =;



var myChart = new FusionCharts("D:/FusionCharts_Evaluation/Charts/Gantt.swf", "myChartId", "500", "250", "0", "0");

myChart.setDataXML(chartXML);

myChart.render("chartdiv");

 

 

 

But if i save the xml to a file and set the file path to the setDataURL method, the rendering is fine. :crazy:

 

Any help would be appreciated, Thanks

 

 

 

PS: I have attached the xml being sent in the xml attachment.

gantt.xml

Edited by Guest

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
Sign in to follow this