# How do I change the width of the bars on a bar chart?

**URL:** <https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262>\
**Category:** Kibana\
**Created:** [November 12, 2018, 9:28am UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262 "2018-11-12T09:28:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emma1](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@emma1](https://discuss.elastic.co/u/emma1)\
**Post date:** [November 12, 2018, 9:28am UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262/1 "2018-11-12T09:28:56Z")

</div>

How do I change the width of the bars on a bar chart ?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 12, 2018, 10:37pm UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262/2 "2018-11-12T22:37:50Z")

</div>

Hi,

You will have to modify the code to change the width of the bars?

I am curious why would you like to change them?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![emma1](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@emma1](https://discuss.elastic.co/u/emma1)\
**Post date:** [November 13, 2018, 6:10am UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262/3 "2018-11-13T06:10:11Z")

</div>

Im Getting very fat bars  
could you tell me i need change and give some example also

Thanks in advance

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 16, 2018, 6:01pm UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262/4 "2018-11-16T18:01:44Z")

</div>

Emma,

It also depends on your data size. Also can you please post a screenshot and which aggregations you are using and some sample docs?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 14, 2018, 6:01pm UTC](https://discuss.elastic.co/t/how-do-i-change-the-width-of-the-bars-on-a-bar-chart/156262/5 "2018-12-14T18:01:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
