Sign in to follow this  
Ravikumar

"No data to display" is not showing.

Recommended Posts

Hi,

          I am using Fusioncharts XT 3.3.1 ."No data to display" message is coming if i dont enable  the export button in the chart. Now i want to enable the export button for the charts, but even though there is no data , it is rendering empty chart and it is not showing the message "No data to display". So now i want chart should dispaly "No data to display" message if there is no data.

Kindly tell me the sollution.

 

Thank you,

regards,

Ravi kumar M 

Edited by Ravikumar

Share this post


Link to post
Share on other sites
Hi Moonmi,

 

Following is the sample XML  data.

 

<?xml version="1.0"?>

<chart caption="For Last 12 Months" bgcolor="FFFFFF" labeldisplay="rotate" slantLabels="1" yaxisname="# of Suppliers" exportEnabled="1" exportAtClient="1" exportAction="download" toolbarButtonWidth="50" toolbarButtonColor="008ee4" toolbarVAlign="bottom" chartBottomMargin="27" exportFileName="Students growth trend">

<categories>

<category label="Jun-14"/>

<category label="Jul-14"/>

<category label="Aug-14"/>

<category label="Sep-14"/>

</categories>

<dataset seriesname="Monthly ">

<set value="12" color="008ee4"/>

<set value="3" color="008ee4"/>

<set value="85" color="008ee4"/>

<set value="202" color="008ee4"/>

</dataset><dataset seriesname="Cumulative" renderas="Line">

<set value="12"/>

<set value="15"/>

<set value="100"/>

<set value="302"/>

</dataset>

</chart>

 

 

and i am using following chart type

 

MSCombi2D.swf.

 

Thank you

Edited by Ravikumar

Share this post


Link to post
Share on other sites

Hi Ravi,

 

Please note that the export button is a part of the chart. So when there is no data inside the chart element, the "no data to display" message will be displayed even when export enabled is set to 1. It is not possible to display the export button and show the message simultaneously.

 

Hope the information is helpful. Please do drop us a mail if you have any further queries.

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this