How do I set the width of the bars in a Bar chart? - Official RGraph support forum

How do I set the width of the bars in a Bar chart?


Posted by Andrea at 14:17 on 15th April 2021
How can I set the of the bars in a classic vertical bar chart?

Posted by Richard at 15:13 on 15th April 2021
To set the width of the bars you can use the marginInner setting. This is the margin either side of the bar so a higher setting will result in thinner bars.

There's a codepen example here:

https://codepen.io/rgraph/pen/mdRKPam

[Replies are now closed]