Gantt Chart Rendering
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Gantt Chart Rendering Expand / Collapse
Author
Message
Posted 9/7/2007 12:38:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/13/2007 1:35:37 AM
Posts: 2, Visits: 7
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.
Any help would be appreciated, Thanks

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


  Post Attachments 
gantt.xml (9 views, 2.32 KB)
Post #2271
Posted 9/10/2007 11:40:07 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
You might be having special characters or combination of ' and ". If you have those, you'll necessarily need to use dataURL method.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #2311
Posted 9/13/2007 1:28:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/13/2007 1:35:37 AM
Posts: 2, Visits: 7
i have attached the xml that is being built on the server. I have checked the xml and it does not have any combination of &apos and ".
Post #2375
Posted 9/16/2007 5:21:58 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
Yes - you've % in your XML. Please encode them to %25 when using dataXML method. In dataURL method, you can directly use them.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #2412
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 10:02pm


Execution: 0.078.