Sign in to follow this  
crperry

formatNumberScale on Y-axis values, but not on toolText values - possible?

Recommended Posts

Hello, I'm looking for a way to have the Y-axis formatted, so that thousands are rounded and listed in K (basic formatNumberScale).  However, I would like the toolText data to display the actual value, not the rounded value.

As you can see from the attachment, it is not practical to showValue for each data point, as this clutters the chart.  So I'm thinking it may be best not to show the values.  (Unless someone has a way to show all of the values and still have a good looking chart?)

That leaves me with having the user look at what is in the toolText.  Does anyone know a way to have the chart format the values on the Y-axis, but show the unrounded values in the toolText?  I realize that the toolText data can be overwritten, but would prefer to have the chart simply not round the toolText value.

Does anyone have any suggestions?  Thanks - I appreciate it!

post-6445-128441575726_thumb.png

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

 

 

It is possible to show the unrounded value in the tooltext.

 

 

 

Could you please try doing the following steps:-

 

 

 

1) <chart...showTooltip='0'>

 

 

 

2) <labels=..., toolText='6,825'>

 

 

 

Ref:-http://www.fusioncharts.com/docs/Contents/AttDesc/ToolTip.html

 

 

 

Ref:-http://www.fusioncharts.com/docs/Contents/Number_Scaling.html

 

 

 

Hope this helps.:)

Edited by Guest

Share this post


Link to post
Share on other sites

I realize that the toolText data can be overwritten, but would prefer to have the chart simply not round the toolText value.

Is there a way to have the Y-axis rounded, but the value in the toolText unrounded?

I prefer not to override (hard-code) the toolText value.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

I'm afraid that FusionCharts does not support the feature to have the Y-axis rounded along with the value in the toolText unrounded. :)

You have to manually override the toolText.

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