Sign in to follow this  
humblecoder

Stack Charts Y-Axis Repeats Numbers For Values Of 1

Recommended Posts

Hi All,

 

 

 

 

I'm having a bit of a problem with stack charts. For each bar, I have 3 levels of "incidents" -- low, mid, high. I display the count for each in a green, red, and blue stack level respectively (not that that portion is relevant). However, it seems that if I encounter a situation where there is only one total occurrence (of either low, mid, or high exclusively) then the y-axis will repeat values. For example from bottom to top the y-axis will read: 0, 0, 1, 1, 1. I would assume it would just skip whole numbers and simply display 0, 1. Perhaps I need to tell it to display decimals in that event? If so, how would I go about doing this?

 

 

 

 

Regards

 

 

Share this post


Link to post
Share on other sites

Wow. *facepalm* I believe I've solved it. The other devs edited the code and it was forcing 5 dividing lines always and when there was a max of 1 it was just repeating the best it knew how. I've since resolved it.

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