Sign in to follow this  
Clara

YAxis options (equivalent of labelStep for XAxis)

Recommended Posts

Hi,


I have a question concerning the YAxis options. For a basic chart, FusionCharts XT defines automatically the YAxis values. Is it possible to configure the step between YAxis values (as labelStep for XAxis)?

For example, actually values : 4 - 8 - 12 - etc. I would like : 1 - 2 - 3 - 4.


If this option is not supported, is it possible to add it for a next version of fusioncharts ?





Thanks,



Clara

Share this post


Link to post
Share on other sites

Hi Clara,

You can use yAxisValuesStep to achieve the same effect as labelStep in case  of Y Axis values.

For achieving the output you have shown in the example, you should set numDivlines according to the number of Y axis values you want to display, also do not forget to set adjustDiv to 0 before setting numDivlines.

You can set explicit lower and upper limit values for Y axis using the attributes 'yAxisMinValue' and 'yAxisMaxValue'

Hope this helps.

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