Sign in to follow this  
amirouche

Hide Label From Plot Bar 2D Chart Column

Recommended Posts

Hey,

 

By default, FusionCharts shows the data item name and value as tool tip text for that data item.

 

To display only the values in the tooltip, you can set a custom tool tip for the data points using tooltext attribute of the <set> element which is used to define the individual data elements.

 

 <set label='Jan' value='220000' [b]toolText='[/b]220000[b]'[/b]/>

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/AttDesc/ToolTip.html

 

Share this post


Link to post
Share on other sites

Thx a lot, it works ,

 

Now I would get the value calculated with the numberScaleValue not the original value.

 

 

Thank you in advance.

Edited by amirouche

Share this post


Link to post
Share on other sites

Hey,

 

Glad to know it works.:D

 

As mentioned earlier, you can set a custom tool tip for the data points using tooltext attribute of the <set> element which is used to define the individual data elements.

 

The custom value should be passed to the attribute.

 

<set label='Jan' value='220000' toolText='220K'/>

Share this post


Link to post
Share on other sites

Hey,

 

Two ways to help you out:

 

<set value='220000'/>  

 

The above code by default will display tooltext as '220 K'. Since, no label is specified, by default FusionCharts displays only value

 

Or

 

The dynamic value has to be obtained and manipulate to a particular scale at your end and then pass it to the toolText attribute.:(

Share this post


Link to post
Share on other sites

OK,

 

I will elaborate the numberScaleValue variable before I pass it to the toolText attribute, while waiting for a direct getValue fusionchart function. B).

 

Thx for your help. ;)

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