shiv Report post Posted May 3, 2013 Hi, I am using FusionCharts, its working fine. But one of my requirments is ' when there is no data we show message as 'No data to Display'. But we need to show the empty report with the same message. how to achieve this? Please can you help me? Share this post Link to post Share on other sites
Sanjukta Report post Posted May 3, 2013 Hi, I am using FusionCharts, its working fine. But one of my requirments is ' when there is no data we show message as 'No data to Display'. But we need to show the empty report with the same message. how to achieve this? Please can you help me? Hi, Please use "configure()" function to set chart messages. Ref.- http://docs.fusioncharts.com/charts/contents/?advanced/ChartMessages.html For instance, if you wish to set chart "ChartNoDataText" message, you need to pass the attribute name and the message text to "configure()" before rendering the chart. <div id="chartContainer">FusionCharts XT will load here</div> <script type="text/javascript"><!-- var myChart = new FusionCharts("Column2D.swf", "myChartId", "300", "250", "0", "1"); myChart.setXMLData("<chart></chart>"); myChart.configure("ChartNoDataText", " "); myChart.render("chartContainer"); // --></script> Hope this helps. Share this post Link to post Share on other sites
shiv Report post Posted May 3, 2013 Thanks Sanjukta for your reply. But I need something like, if its column chart then it should look like | |Y | | No Data To display | |____________________ Some Value(X) X and Y axis should be visible with the message. Is it possible? I hope you can understand my drawing, as I am not good at. Thanks. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted May 6, 2013 Hi Shiv, The feature which you are trying to implement is not possible. You can not display message in the data-plot area. Hope this helps! Share this post Link to post Share on other sites