evanluck Report post Posted January 18, 2010 (edited) I get a "No Data to Display Error" with the following code var chart1 = new FusionCharts("charts/Pie3D.swf", "useageGraph", "464", "270", "0", "1"); chart1.setDataURL('phpgraph/profile_1.1_usage.php?segid=1®ion=south'); chart1.addParam("wmode","transparent"); chart1.render("servusagetab"); When I go to the actual DataURL in a browser, I get valid XML output. When I save this XML output to a static file and change the setDataURL to the XML file, the graph renders. I've isolated the graph on it's own page here: http://www.jcplcommunityconnect.com/fusionchartsbugtest.php You can see that the DataURL is valid by going here: http://www.jcplcommunityconnect.com/phpgraph/profile_1.1_usage.php?segid=1®ion=segments Any assistance would be most gratefully appreciated! All the best, Evan Edited January 18, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 18, 2010 Hello, If your chart shows a "No data to display" message, it could be the following scenarios: Your XML data doesn't contain any data that could be plotted by FusionCharts. In this case, your XML just contains the <chart> or <dataset> tags without any data between them. You might be using a single-series chart SWF and providing data in multi-series format or vice-versa. In this case too, you'll get "No data to display" message. In some Dual Y Combination charts, you need to provide atleast one data-set for both the axis. Otherwise, you'll get a "No data to display" message. Now, when i checked the link http://www.jcplcommunityconnect.com/phpgraph/profile_1.1_usage.php?segid=1 Share this post Link to post Share on other sites