Sign in to follow this  
EdO

Sum In Stacked Column Chart Collides With Border

Recommended Posts

Hi-

I have a stacked column chart and want to display sums at the top of the columns, but the chart dimensions do not respect the sums. The sums get shoved up to the point where they are on or above the border of the chart and can't be read.

 

I tried all the margins and padding properties, but didn't find anything that resolved this issue.

Screenshot attached.

post-30307-0-58327700-1349225468_thumb.png

 

Any help would be appreciated.

Thanks

-Ed

Share this post


Link to post
Share on other sites

Hi,

 

You can set a greater yAxisMaxValue e.g., 1800000 for the chart shown in your attached image.

 

Hmm.. less than ideal, especially since the padding at the top of the chart seems to vary considerably depending on the data, and our data varies considerably in scale. Sometimes there is plenty of room, sometimes it's right on the line. I'll need to add code to sum up all the elements in each bar and find the highest value and then guess at how much space to add...

 

Anyway, less than ideal, but it seems like this will probably work for now so thank you for the suggestion.

-Ed

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