Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Decrease the width of bar.
posted

Hi,

I am using a Column series to draw a graph. My question is how can we decrease the width of bar in column series ? I want to change the width of bar so that it looks nice than its default width. So, is there any property for that ?

Please give me some suggestion.

Thanks.

Parents
No Data
Reply
  • 26458
    Verified Answer
    Offline posted

    Hi,

    The gap property on your X axis controls the spacing between the columns. You can set it to a value between 0 and 1, 1 giving you the most space.
    categoryXAxis.gap = 0.8, for example.

    Or from the column series:
    mySeries.xAxis.gap = 0.8 

Children