Hi all,
I'm a bit stuck trying to create a simple 3D Pie chart.
I've tried a number of different ways to create my data xml, but it is returning an invalid error.
Sample code:
<script type="text/javascript" src="FusionCharts.js"></script>
<div id=xmlData">
<chart caption="Hello Chart" palette="1">
<set label="A label" value="1" />
<set label="B label" value="2" />
<set label="C label" value="3" />
<set label="D label" value="4" />
</chart>
</div>
<div id="graph">
<script type="text/javascript">
oChart = new FusionCharts('Pie3D.swf','graph','300','200','1','1');
oChart.setDataXML(document.getElementById('xmlData').innerHTML);
oChart.render('graph');
</script>
</div>
The XML is created via the XMLGenerator tool, and kept very simple to try it out first. The actual data is of the same structure, exception on the values which would contain decimal places.
Is there something I am missing?
Thanks!