Sign in to follow this  
arondam40

Tooltip value customization

Recommended Posts

I am using a lisencesd version of FusionCharts XT. I have a requirement where I have to show some value in the tooltip other than the value plotted in the chart. Is there any way so that we can manipulate the json to add different values to the tooptip of the linecharts or mixed charts.

 

Example : Suppose I have have the data about a student's name, height and weight. Now I put the name (x-axis) and height (y-axis) in a line chart. Now for each name I want to show the weight in the tooltip of the nodes in the line. Is it posssible. If possible how can I achieve it.

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

You can set a custom tool tip for any of the data points using tooltext attribute of the <set> element which is used to define the individual data elements.

For ex-

<set label='Jan' value='220000' toolText='wt=10kg'/>

The attached item is the screenshot of the same.

 

Hope this helps.

post-47865-0-31886000-1385468289_thumb.jpg

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