Sign in to follow this  
Rahul44

Chart Not To Plot Value With 0

Recommended Posts

hi,

 

I have values comming from database i would like to know if there is a way with fusion chart not to plot values if its 0, if not is it possible to add a javascript or xml if statement within a datatset?

 

 

thank you for the help in advance..

 

Rahul

Edited by Rahul44

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

You would have to insert a "if condition statement" to skip the "0" values while generating the XML from database.

 

Ref. code:

 

While(Read data from recordset.)  
{
if(recordset.column ! = 0)    ---------------------- (check if the database column has 0 value else generate the XML)
       {
	then generate the XML
       }
}

Share this post


Link to post
Share on other sites

Thank You

 

Hi,

 

You would have to insert a "if condition statement" to skip the "0" values while generating the XML from database.

 

Ref. code:

 

While(Read data from recordset.)  
{
   if(recordset.column ! = 0)    ---------------------- (check if the database column has 0 value else generate the XML)
       {
       then generate the XML
       }
}

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