Sign in to follow this  
CPage

Can I specify y-axis increments?

Recommended Posts

Hi,

I'm working on a site containing existing FusionChart charts. I'm trying to revise the charts per client request. I'm able to do most of the revisions, but I'm stuck on this last one.

1) Is there a way to specifically choose the y-axis increments? I understand I can change the number of dividers. However the math isn't adding up on some of them. For instance, they have one chart with a y-axis range of 0 to 30. They'd like the increments to be 0, 5, 10, 15, 20, 25, 30. I can only get it to be 0, 6, 12, 18, 24, 30.

 

2) Also, their stacked column charts go to 110%. They were told previously it couldn't be fixed. When I specify the maximum to be 100%, it hides the top label (110%), but the y-axis increments are still 0, 22%, 44%, 66%, 88%...implying that the chart goes to 110%.

 

Any suggestions or help would be very much appreciated! Thanks.

Share this post


Link to post
Share on other sites

Hi,

1) Is there a way to specifically choose the y-axis increments? I understand I can change the number of dividers. However the math isn't adding up on some of them. For instance, they have one chart with a y-axis range of 0 to 30. They'd like the increments to be 0, 5, 10, 15, 20, 25, 30. I can only get it to be 0, 6, 12, 18, 24, 30.
 

>>  This can be achieve by setting number of divisional lines. To achieve, you need to disable automatic adjustment of divisional lines using adjustDiv='0' and specify the y-axis upper and lower limits using the yAxisMaxValue and yAxisMinValue attributes         respectively. 

<chart  adjustDiv="0" yAxisMaxValue = "30"  numDivLines ="6"......>

2) Also, their stacked column charts go to 110%. They were told previously it couldn't be fixed. When I specify the maximum to be 100%, it hides the top label (110%), but the y-axis increments are still 0, 22%, 44%, 66%, 88%...implying that the chart goes to 110%.

>> Could you please share your XML/ JSON data.

post-62873-0-21017900-1408008173_thumb.png

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