# How to control the width of bars while browser width reducing

**URL:** <https://community.plotly.com/t/how-to-control-the-width-of-bars-while-browser-width-reducing/77652>\
**Category:** plotly.js\
**Tags:** question, bug-reporter\
**Created:** [August 11, 2023, 9:19am UTC](https://community.plotly.com/t/how-to-control-the-width-of-bars-while-browser-width-reducing/77652 "2023-08-11T09:19:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mujaeit](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@Mujaeit](https://community.plotly.com/u/Mujaeit)\
**Post date:** [August 11, 2023, 9:19am UTC](https://community.plotly.com/t/how-to-control-the-width-of-bars-while-browser-width-reducing/77652/1 "2023-08-11T09:19:24Z")

</div>

Hi All,  
I am trying to control the bars width while reducing browser width  
actually the problem is on 100% browser width bars width is fine but when I am reducing the zoom/width of browser  
bar width increasing automatically on browser resize do we have any property or any option to control width of bars while doing browser resize

- Normal 100% zoom of browser

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/2/9/29d47e6b973b432e7b530dc89b6302627813501c.png)

- After resize browser to 50% zoom

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/9/0/9013d9ad9f28b28b2349408f4b210796ea4dc22c.png)

Thanks in advance
