Sign in to follow this  
internet9

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

Recommended Posts

when there are two:

0037ee37-1cbf-4493-8cfe-5896.jpg

 

when it's one:

 

28c376bf-8740-46b4-85f1-702e.jpg

my xml code like this:

<chart plotSpacePercent='80' >

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

</chart>

 

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

Hello,

 

 

 

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