abdfahim Report post Posted August 2, 2014 Hi, I am using javascript to render chart on my webpage. Initially the chart shows a text "No data to display". When I click a button, it loads data and show graph. My problem is, based on data volume, sometimes chart takes a while to load. But I don't see any message in between. It just keep showing "No data to display" and then suddenly show chart. I want to show "retrieving data ..." or "loading chart ..." type message between button clicked and show chart to let the user know that something is going on in the background. I did it before, but can't find the option in new documentation. Can you please help me? My code: var strURL = "xml/dynamic.php?id=xxxxxx"strURL = escape(strURL); var myChart = FusionCharts(chartid); myChart.setXMLUrl(strURL); Thanks, Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted August 7, 2014 Hi, The usual reasons for “No data to display” message is either XML/JSON data doesn’t contain any data to be plotted on the chart. Your XML just contains the <chart></chart> without any data or for JSON just contains {“chart” : { } }. Could you please check your code if FusionChart component is created before the onclick() function of the button used. You can also send the code, so that we can check it at our end as well. Thanks Share this post Link to post Share on other sites