mmjensen Report post Posted September 8, 2010 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 Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted September 8, 2010 Hi, Welcome to FusionCharts forum. If you get a "Error in Loading Data" message in your chart, it means that FusionCharts could not find XML data at the specified URL. Please confirm, whether the root path that you are specifying for the XML file is mentioned correctly. Hope this helps. Share this post Link to post Share on other sites
mmjensen Report post Posted September 9, 2010 Well, I solved it by giving my entire web folder writing rights. Thanks for your time. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted September 9, 2010 Hi, We are glad that your issue is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites