Sign in to follow this  
IDForums

Number formatting in ToolText

Recommended Posts

Hi,

 

 

 

Y-axis in my chart represents counts. I used tooltext to display just the y-axis counts alone instead of having X and Y-axis names.

 

I need to display numbers with comma separator for thousands like 64,000 instead of 64K. I used formatNumberScale = '0' attribute to get this done. But the numbers are formatted only on Y-Axis but not in the tool tip. Please suggest.

 

 

 

Thanks.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you please try adding toolTip='1' in the <chart> element and try again?

 

 

 

:)

Share this post


Link to post
Share on other sites

It did not help. I believe that tool text is considered as a String and no formatting is applied.

 

I am also looking to format a number which is displayed in Caption to be formatted.

 

Please find the attachment for my jsp file.

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

 

 

 

If you explicitly define tooltips the chart would show it as it is defined as String.

 

 

 

If you do not, the chart would show the label, (series name - where-ever applicable - optional) and value with number formatting set using number formatting attributes.

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