Sign in to follow this  
Rahul Kumar

Invalid xml data

Recommended Posts

Using asp to pull in some simple value from a database - below are the calls and returns. The error states "invalid xml data" but I can see my variables listed in the string below but no chart...

Any ideas??

<script type="text/javascript"> 

//Instantiate the Chart 

var chart_COMMISSIONS = new FusionCharts("Charts/Pie3D.swf", "COMMISSIONS", "700", "500", "0", "0");

 

//Provide entire XML data using dataXML method

chart_COMMISSIONS.setDataXML("<chart caption='COMMISSIONS' subCaption='commission' pieSliceDepth='30' showBorder='1' formatNumberScale='0' numberSuffix='Dollars'><set label='one' value='111'><set label='one' value='111'><set label='one' value='111'></chart>");

 

//Finally, render the chart.

chart_COMMISSIONS.render("COMMISSIONSDiv");

 </script> 

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