Sign in to follow this  
hakimny

Showing suffix/prefix on toolTip for xAxis

Recommended Posts

Hi Guys

 

 

 

I am a new user of Fusion Charts, and I have to say what a great product, I have a little problem and might need some help.

 

I have a 2DArea Graph showing Speed vs Distance.

 

 

 

Speed being the yAxis values and Distance being the xAxis values.

 

 

 

I just need to show on the toolTip the units of Speed and distance, so far adding numberSuffix='mph' or 'km/h' seems to do the trick for Speed values, but i could not find a way to add the same thing to show the unit of the distance, so each time a user hovers a point in the graph the toolTip should show "2 Miles, 20 mph " for example.

 

 

 

 

 

Thank you very much for your prompt answer

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey,

 

 

 

Welcome to the FusionCharts Forum. :pinch:

 

 

 

The numberSuffix attribute works only for the Y-axis. It does not apply to the X-axis. Labels are used while outlining the X-axis parameters.

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