Sign in to follow this  
leos

Scaling Values, but not int ToolText

Recommended Posts

I want the chart to be clean, so re-writing values like 10043 as 10k is fine on the chart face. If a user hovers over it, I want the details to show exactly, ie: 10043.20 or 10,043.20

 


{chart showValues="0" Caption="Total Sales by Day" decimals="0"}

 {categories}

   {category label="30" tooltip="July 30, 2009"/}

   {category label="31" tooltip="July 31, 2009"/}

   {category label="1" tooltip="August 1, 2009"/}

   {category label="2" tooltip="August 2, 2009"/}

 {/categories}

 {dataset}

   {set label="30" value="10043.20"/}

   {set label="31" value="16021.50"/}

   {set label="1" value="743.00"/}

   {set label="2" value="1993.15"/}

 {/dataset}

{/chart}

 

 

 

Pardon the brace brackets, but the code tag doesn't seem to work.

 

 

 

I know I can do this by manually specifying the tool tip in the element, but it are there any other ways? ie: something like: {chart DoNotFormatToolText="0" ...

 

 

 

Thanks

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

You can use the toolText attribute in the <set> elements to display the number as you wish when hovered upon the dataplot.

Hope this helps.

Share this post


Link to post
Share on other sites

Thanks, that does help.

 

 

 

If I do this, i then I suppose I have to invoke my own version of the formatNumberScale='1', or can I still take advantage of it somehow?

 

 

 

Thanks again!

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

If you try your own formatNumberScale='1' in the <chart> then all the values on the chart will be formatted.

So, you have to apply formatNumberScale mentally(:)) and then use it in the toolText. :w00t: 

Edited by Guest

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