cyang726

Stacked column 2D chart -- How to set different prefix or suffix to y-axis value and number in chart

Recommended Posts

Hey team,

 

I have been struggled on this problem for days. I need to add prefix $ to y-axis, and I don't want it to be shown on the sum up value for each stacked column.

 

I am trying to find a parameter could specify 'y axis number prefix only', because I know the sum up value will controlled by 'numberPrefix' parameter.

 

Thanks for your help.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum Post.

 

Using "numberSuffix" or "numberPrefix" attributes, you could add suffix/prefix to all the numbers visible on the graph.

 

It is not possible to configure different suffix/prefix for the numbers visible on the graph.

Share this post


Link to post
Share on other sites

Hi Manoj,

 

You can set the attribute "numberPrefix" to add a string before the numeric values on the chart. Please find a sample Spline chart using the mentioned attribute : http://jsfiddle.net/aoegjp8h/3/

 

Also refer to the documentation link for number prefix or suffix configurations : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/number-format#add-number-prefix-and-suffix

 

Thanks,

Akash.

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