Sign in to follow this  
Guest Rajroop

displayValue not being used in place of value

Recommended Posts

Hi all,

 

 

 

I am somewhat new to FusionCharts and tried searching the forums for this problem, but could not find an answer to my specific issue. I am trying to create a graph where each set is a time period. I am passing in the number of seconds as the value, and would like to pass in a display value that has the number of seconds formatted as a pretty time string, ex. "6h 7m 12s". My problem is, even when I pass a displayValue parameter to the set xml node, it never uses it, but instead just displays the value.

 

 

 

Here is what my set node looks like that I pass in (note that I inserted a space right after the opening tag to get it to display properly on this form):

 

 

 

< set name='Bob' hoverText='Bob' value='24017' displayValue='6h 7m 12s' />

 

 

 

Any idea why displayValue is not being displayed in place of the numeric value of 'value'?

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