Sign in to follow this  

How to fix bar's width when there is only one bar? thanks.

Recommended Posts

when there are two:



when it's one:



my xml code like this:

<chart plotSpacePercent='80' >

<set label='Jan' value='462' />



No matter plotSpacePercent is greater or less than 80, it donesn't work. how to set the bar's width? thanks.

Share this post

Link to post
Share on other sites





The width of individual bars cannot be set. Since you want to keep the width constant even when there is only one bar, a workaround will be to put one extra blank data (zero value) to adjust the space and the width.




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