FusionCharts Forum: Problem loading data "No data to display" - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Problem loading data "No data to display" Various charts/graphs not displaying but others will.

#1 User is offline   gaxze 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 09-July 10

Posted 12 July 2010 - 10:08 AM

Hello.



I have the following setup:



charts

xml

js



the charts folder contains all swf files and the fusioncharts.js file.

the xml folder contains the xml data

the js folder contains:



Quote


$(document).ready(function(){



var myChart = new FusionCharts("../charts/hbullet.swf", "myChartId", "400", "200", "0", "0");

myChart.setDataURL("../xml/data.xml");

myChart.render("chartdiv");



..




now when i attempt to load hbullet or even funnel, i get "No data to display" yet when using AngularGauge all works fine.



the XML i use is that from http://www.fusioncha...m/widgets/docs/ relating to each specific chart type.



i have an external XML file as im looking into writing the XML using PHP and then having the javascript read the xml and send to the chart.



any help welcome.
0

Other Replies To This Topic

#2 User is offline   gaxze 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 09-July 10

Posted 12 July 2010 - 10:15 AM

Okay upon testing this out it with angulargauge again it seems that my XML is not being read. but i was under the influence it was because the chart loaded for that type.



changing my problem. what am i doing wrong when trying to read the XML?



any tips?
0

Other Replies To This Topic

#3 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 13 July 2010 - 03:25 AM

Hey Gaxze,



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 FusionWidgets. In this case, your XML just contains the or 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.



Please do verify on these points and revert on whether problem still exists or not.



I will be looking forward to updates from your side in this regard.



Have a great day!
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#4 User is offline   gaxze 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 09-July 10

Posted 13 July 2010 - 04:49 AM

I have fixed the problem.. somehow?!? no idea how.. havent change anything which i used last night but now all charts work fine now. however one problem seems to be i get the 'no data display' on chrome, yet on firefox and IE all goes well.



added note. im using wamp.
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked