Sign in to follow this  
osalmon

Error In Loading Data

Recommended Posts

When displaying a graph using a string, I have the following error: Error in loading data.

If I copy the string to a file (xml) and use the file instead, it works fine, the graph is displayed.

 

Works fine:

ViewData["Chart1"] = FusionCharts.RenderChart("../../FusionChart/MSLine.swf", "../../Data5.xml", "", "myFirst", "800", "400", false, true);

 

Doesn't work:

string strXmlData = QueueLength();

ViewData["Chart1"] = FusionCharts.RenderChart("../../FusionChart/MSLine.swf", strXmlData, "", "myFirst", "600", "300", false, true);

 

I'm using VS 2010. I thought the problem might come with the { and } added in my string, but doing that fails as well:

 

string strXmlData = "<chart caption='SBM' xAxisName='Date' yAxisName='Items'><categories><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='01/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='02/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='03/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='04/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='05/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='06/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='07/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='08/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='09/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='10/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='11/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='12/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='13/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /><category label='14/01/2010 00:00:00' /></categories><dataset seriesName='New'><set value='1'/><set value='4'/><set value='1'/><set value='11'/><set value='1'/><set value='1'/><set value='1'/><set value='2'/><set value='3'/><set value='5'/><set value='4'/><set value='1'/><set value='3'/><set value='3'/><set value='1'/><set value='11'/><set value='2'/><set value='141'/><set value='664'/><set value='1'/><set value='17'/><set value='1'/><set value='17'/><set value='2'/><set value='4'/><set value='1'/><set value='141'/><set value='664'/><set value='11'/><set value='3'/><set value='17'/><set value='1'/><set value='1'/><set value='11'/><set value='3'/><set value='17'/><set value='1'/><set value='5'/><set value='1'/><set value='1'/><set value='2'/><set value='1'/><set value='3'/><set value='1'/><set value='1'/><set value='4'/><set value='2'/><set value='1'/><set value='3'/><set value='1'/><set value='4'/><set value='3'/><set value='5'/><set value='1'/><set value='17'/><set value='1'/><set value='17'/><set value='11'/><set value='3'/><set value='141'/><set value='664'/><set value='11'/><set value='1'/><set value='1'/><set value='1'/><set value='4'/><set value='1'/><set value='1'/><set value='2'/><set value='11'/><set value='4'/><set value='3'/><set value='5'/><set value='4'/><set value='1'/><set value='1'/><set value='2'/><set value='1'/><set value='17'/><set value='141'/><set value='664'/><set value='11'/><set value='1'/><set value='3'/><set value='1'/><set value='1'/><set value='17'/><set value='1'/><set value='3'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='11'/><set value='664'/><set value='141'/><set value='11'/><set value='1'/><set value='3'/><set value='1'/><set value='4'/><set value='1'/><set value='1'/><set value='17'/><set value='1'/><set value='4'/><set value='2'/><set value='2'/><set value='1'/><set value='17'/><set value='5'/><set value='3'/><set value='3'/><set value='1'/><set value='1'/><set value='3'/><set value='5'/><set value='1'/><set value='17'/><set value='1'/><set value='3'/><set value='1'/><set value='17'/><set value='11'/><set value='2'/><set value='1'/><set value='2'/><set value='1'/><set value='4'/><set value='1'/><set value='3'/><set value='1'/><set value='11'/><set value='4'/><set value='1'/><set value='1'/><set value='665'/><set value='141'/><set value='1'/><set value='4'/><set value='1'/><set value='1'/><set value='1'/><set value='3'/><set value='2'/><set value='1'/><set value='11'/><set value='5'/><set value='1'/><set value='1'/><set value='2'/><set value='11'/><set value='665'/><set value='1'/><set value='17'/><set value='3'/><set value='3'/><set value='17'/><set value='141'/><set value='4'/><set value='1'/><set value='2'/><set value='4'/><set value='665'/><set value='1'/><set value='17'/><set value='1'/><set value='11'/><set value='1'/><set value='141'/><set value='1'/><set value='3'/><set value='11'/><set value='5'/><set value='1'/><set value='17'/><set value='3'/><set value='1'/><set value='1'/><set value='2'/><set value='1'/><set value='3'/><set value='1'/><set value='4'/><set value='2'/><set value='4'/><set value='3'/><set value='1'/><set value='1'/><set value='3'/><set value='17'/><set value='5'/><set value='1'/><set value='1'/><set value='3'/><set value='17'/><set value='141'/><set value='665'/><set value='2'/><set value='11'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='4'/><set value='11'/><set value='11'/><set value='1'/><set value='5'/><set value='4'/><set value='2'/><set value='4'/><set value='3'/><set value='1'/><set value='665'/><set value='17'/><set value='1'/><set value='1'/><set value='11'/><set value='141'/><set value='17'/><set value='3'/><set value='3'/><set value='1'/><set value='1'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='17'/><set value='1'/><set value='2'/><set value='3'/><set value='3'/><set value='1'/><set value='1'/><set value='1'/><set value='4'/><set value='2'/><set value='17'/><set value='11'/><set value='141'/><set value='11'/><set value='665'/><set value='1'/><set value='5'/><set value='4'/><set value='3'/><set value='1'/><set value='1'/><set value='17'/><set value='1'/><set value='1'/><set value='4'/><set value='3'/><set value='2'/><set value='4'/><set value='11'/><set value='17'/><set value='1'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='5'/><set value='3'/><set value='3'/><set value='141'/><set value='1'/><set value='11'/><set value='667'/><set value='141'/><set value='669'/><set value='5'/><set value='1'/><set value='1'/><set value='17'/><set value='1'/><set value='3'/><set value='3'/><set value='17'/><set value='2'/><set value='4'/><set value='1'/><set value='1'/><set value='4'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='2'/><set value='11'/><set value='3'/><set value='11'/><set value='11'/><set value='2'/><set value='669'/><set value='1'/><set value='3'/><set value='3'/><set value='17'/><set value='1'/><set value='1'/><set value='1'/><set value='141'/><set value='1'/><set value='11'/><set value='1'/><set value='4'/><set value='1'/><set value='1'/><set value='5'/><set value='3'/><set value='2'/><set value='17'/><set value='4'/><set value='1'/></dataset><dataset seriesName='CCRB Discussing'><set value='1'/><set value='5'/><set value='163'/><set value='182'/><set value='73'/><set value='2'/><set value='10'/><set value='1'/><set value='2'/><set value='21'/><set value='21'/><set value='2'/><set value='10'/><set value='2'/><set value='1'/><set value='73'/><set value='182'/><set value='163'/><set value='5'/><set value='1'/><set value='5'/><set value='2'/><set value='2'/><set value='1'/><set value='21'/><set value='1'/><set value='10'/><set value='182'/><set value='163'/><set value='73'/><set value='73'/><set value='163'/><set value='10'/><set value='2'/><set value='1'/><set value='21'/><set value='2'/><set value='182'/><set value='5'/><set value='1'/><set value='163'/><set value='2'/><set value='5'/><set value='182'/><set value='1'/><set value='2'/><set value='10'/><set value='1'/><set value='73'/><set value='21'/><set value='21'/><set value='2'/><set value='1'/><set value='73'/><set value='2'/><set value='5'/><set value='182'/><set value='10'/><set value='164'/><set value='1'/><set value='182'/><set value='164'/><set value='73'/><set value='10'/><set value='2'/><set value='5'/><set value='1'/><set value='21'/><set value='2'/><set value='1'/><set value='1'/><set value='164'/><set value='10'/><set value='2'/><set value='21'/><set value='182'/><set value='1'/><set value='2'/><set value='73'/><set value='5'/><set value='73'/><set value='1'/><set value='21'/><set value='1'/><set value='10'/><set value='2'/><set value='2'/><set value='164'/><set value='5'/><set value='182'/><set value='10'/><set value='1'/><set value='182'/><set value='73'/><set value='2'/><set value='5'/><set value='164'/><set value='1'/><set value='2'/><set value='21'/><set value='1'/><set value='164'/><set value='182'/><set value='5'/><set value='2'/><set value='10'/><set value='73'/><set value='1'/><set value='2'/><set value='21'/><set value='2'/><set value='21'/><set value='1'/><set value='73'/><set value='2'/><set value='5'/><set value='182'/><set value='1'/><set value='10'/><set value='164'/><set value='5'/><set value='184'/><set value='164'/><set value='10'/><set value='2'/><set value='1'/><set value='73'/><set value='21'/><set value='2'/><set value='1'/><set value='5'/><set value='2'/><set value='1'/><set value='21'/><set value='2'/><set value='73'/><set value='10'/><set value='1'/><set value='184'/><set value='164'/></dataset><dataset seriesName='Waiting for Patch'><set value='144'/><set value='4'/><set value='9'/><set value='3'/><set value='1'/><set value='7'/><set value='3'/><set value='28'/><set value='3'/><set value='28'/><set value='7'/><set value='3'/><set value='4'/><set value='1'/><set value='144'/><set value='9'/><set value='7'/><set value='144'/><set value='1'/><set value='9'/><set value='3'/><set value='4'/><set value='3'/><set value='28'/><set value='4'/><set value='1'/><set value='9'/><set value='3'/><set value='28'/><set value='144'/><set value='7'/><set value='3'/><set value='3'/><set value='144'/><set value='7'/><set value='3'/><set value='28'/><set value='9'/><set value='4'/><set value='1'/><set value='4'/><set value='1'/><set value='3'/><set value='9'/><set value='29'/><set value='144'/><set value='3'/><set value='7'/><set value='144'/><set value='4'/><set value='9'/><set value='7'/><set value='1'/><set value='3'/><set value='3'/><set value='29'/><set value='3'/><set value='3'/><set value='29'/><set value='7'/><set value='4'/><set value='1'/><set value='144'/><set value='9'/><set value='144'/><set value='9'/><set value='3'/><set value='7'/><set value='1'/><set value='4'/><set value='29'/><set value='3'/><set value='4'/><set value='9'/><set value='1'/><set value='144'/><set value='29'/><set value='3'/><set value='3'/><set value='7'/><set value='144'/><set value='7'/><set value='3'/><set value='29'/><set value='3'/><set value='1'/><set value='4'/><set value='9'/><set value='144'/><set value='1'/><set value='9'/><set value='4'/><set value='3'/><set value='7'/><set value='29'/><set value='3'/><set value='3'/><set value='9'/><set value='4'/><set value='3'/><set value='29'/><set value='7'/><set value='144'/><set value='1'/><set value='1'/><set value='144'/><set value='7'/><set value='29'/><set value='3'/><set value='4'/><set value='9'/><set value='3'/></dataset><dataset seriesName='Closed'><set value='30'/><set value='1'/><set value='6'/><set value='1'/><set value='1'/><set value='2'/><set value='3'/><set value='4'/><set value='2'/><set value='3'/><set value='4'/><set value='1'/><set value='1'/><set value='1'/><set value='30'/><set value='6'/><set value='30'/><set value='1'/><set value='6'/><set value='1'/><set value='4'/><set value='3'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='3'/><set value='4'/><set value='2'/><set value='1'/><set value='6'/><set value='30'/><set value='1'/><set value='2'/><set value='30'/><set value='1'/><set value='6'/><set value='3'/><set value='4'/><set value='1'/><set value='3'/><set value='4'/><set value='2'/><set value='30'/><set value='1'/><set value='1'/><set value='6'/><set value='1'/><set value='6'/><set value='30'/><set value='1'/><set value='1'/><set value='1'/><set value='2'/><set value='4'/><set value='3'/><set value='4'/><set value='3'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='30'/><set value='6'/><set value='1'/><set value='6'/><set value='30'/><set value='1'/><set value='4'/><set value='3'/><set value='1'/><set value='2'/><set value='1'/><set value='1'/><set value='30'/><set value='4'/><set value='3'/><set value='2'/><set value='1'/><set value='6'/><set value='6'/><set value='1'/><set value='1'/><set value='4'/><set value='3'/><set value='2'/><set value='1'/><set value='30'/><set value='4'/><set value='6'/><set value='30'/><set value='3'/><set value='2'/><set value='1'/><set value='1'/><set value='1'/><set value='1'/><set value='30'/><set value='2'/><set value='1'/><set value='6'/><set value='1'/><set value='3'/><set value='4'/><set value='2'/><set value='1'/><set value='1'/><set value='6'/><set value='30'/><set value='1'/><set value='4'/><set value='3'/></dataset></chart>";

 

ViewData["Chart1"] = FusionCharts.RenderChart("../../FusionChart/MSLine.swf", strXmlData, "", "myFirst", "600", "300", false, true);

 

What's wrong??

Thanks a lot

 

Share this post


Link to post
Share on other sites

Ok, managed to resolve the issue.

The string wasn't in the right place in the RenderChart call ...

 

FYI, the working line is:

ViewData["Chart1"] = FusionCharts.RenderChart("../../FusionChart/MSLine.swf", "", strXmlData, "myFirst", "600", "300", false, true);

 

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

We are glad to know that your issue has been resolved.

 

Happy FusionCharting!biggrin.gif

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