Hi guys
I have a problem with my code:
< div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.
< script type="text/javascript">
var myChart = new FusionCharts("../FusionCharts/Column3D.swf", "myChartId", "900", "300", "0", "0");
myChart.setDataURL("../db/data.xml");
myChart.render("chartdiv");
< /script>
< /body>
< /html>
(I did the extra space, to be able to show it here.)
The root folder db is the only folder with the rights I need to create the xml file. So I have to read from this folder, but I get Error in loading data. It works if I place the xml in the same folder as the page, and change the dataurl to: myChart.setDataURL("../db/data.xml");
Am I doing something wrong or what's wrong?
Thanks in advance