# How to get horisontal bars fill the width?

**URL:** <https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433>\
**Category:** Kibana\
**Created:** [August 28, 2018, 10:58pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433 "2018-08-28T22:58:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GGorast](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ggorast/32/34669_2.png) [@GGorast](https://discuss.elastic.co/u/GGorast)\
**Post date:** [August 28, 2018, 10:58pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/1 "2018-08-28T22:58:20Z")

</div>

I can not manage to get the horizontal bar with highest value to fill the width of the element.

 ![Screenshot](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0fc2acc267907c15dc58980b3cfa48b721f52669.png)

As you can see on the screen shot the rectangle for the element is far right but there is a free space, a gap till the end.  
How to get that the bar with the highest value set the maximum?

Thanks.

---

<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:** [August 30, 2018, 1:17pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/2 "2018-08-30T13:17:33Z")

</div>

Hi,

Is this on Canvas?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![GGorast](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ggorast/32/34669_2.png) [@GGorast](https://discuss.elastic.co/u/GGorast)\
**Post date:** [August 30, 2018, 1:34pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/3 "2018-08-30T13:34:38Z")

</div>

Yes. Sorry I missed that.

---

<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:** [August 30, 2018, 1:35pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/4 "2018-08-30T13:35:47Z")

</div>

@Catherine_Liu one more question on Canvas.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [August 30, 2018, 3:52pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/5 "2018-08-30T15:52:27Z")

</div>

Currently, there is no way to set the bounds of the axes in the Canvas plot element, but we do want to add the option of setting the lower and upper bounds of each axis in the future.

---

<div class="post-metadata">

**Author:** ![GGorast](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ggorast/32/34669_2.png) [@GGorast](https://discuss.elastic.co/u/GGorast)\
**Post date:** [August 30, 2018, 7:51pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/6 "2018-08-30T19:51:54Z")

</div>

Ok. Should I put request in on github or its already done?

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [August 30, 2018, 8:07pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/7 "2018-08-30T20:07:21Z")

</div>

I filed an issue in the Canvas repo. It's currently a private repo, so I'm not able to provide a link to track the progress. It's fairly simple to implement, and hopefully we can get that feature added in a future release soon.

---

<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:** [September 27, 2018, 8:07pm UTC](https://discuss.elastic.co/t/how-to-get-horisontal-bars-fill-the-width/146433/8 "2018-09-27T20:07:21Z")

</div>

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