# Set extended\_bounds according to the time in Kibana

**URL:** <https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918>\
**Category:** Kibana\
**Created:** [August 10, 2018, 6:07pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918 "2018-08-10T18:07:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naruhodou](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@Naruhodou](https://discuss.elastic.co/u/Naruhodou)\
**Post date:** [August 10, 2018, 6:07pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918/1 "2018-08-10T18:07:34Z")

</div>

Hi,

I'm creating a date histogram visualization, and I want to use extended\_bounds to extend the bounds of the histogram beyond the data itself. So is it possible to make the bounds change according to the time in Kibana?

Right now if I set the bounds to a very large period, it looks like this.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56d7e9d068ee8288409e783ded438b6cee6a6d26.png)

Is it possible that when I change the time period in Kibana(top right corner), then these extened\_bound(min and max) can change accordingly?

Thanks!

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [August 13, 2018, 6:13pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918/2 "2018-08-13T18:13:40Z")

</div>

Hi Reggie,

Just so I understand, are you asking if there is a way to apply a fixed offset to the time range, so that as you change the time range, the visualization will display that range plus an offset?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![Naruhodou](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@Naruhodou](https://discuss.elastic.co/u/Naruhodou)\
**Post date:** [August 13, 2018, 8:29pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918/3 "2018-08-13T20:29:12Z")

</div>

Hi CJ,

Sorry I didn't get you. The reason I use extended\_bound is to fill those empty buckets so it will display zero values.

I mean when I set the extended\_bound to be min:a and max:b. The visualization will show that time range. As you can see in the image, the min is 2018-07-07 and the max is 2018-10-13(the entire visualization). And the time range I set in Kibana is 2018-07-07 to 2018-08(the white part in the visualization).

When I change the Kibana time range(as long as it's between the extended\_bounds), only the white part changes. Now I hope the extended\_bound can be a dynamic one, always changing, being the same to the Kibana time range, which means the time range of the entire visualization will be the same to the Kibana time range. Is this possible?

---

<div class="post-metadata">

**Author:** ![raya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raya/32/55497_2.png) [@raya](https://discuss.elastic.co/u/raya)\
**Post date:** [August 24, 2018, 1:18pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918/4 "2018-08-24T13:18:19Z")

</div>

Hi Reggie  
Unfortunately there is no way to make extended\_bound dependent on the date range selected on the dashboard. If you want to submit a feature request with the use case you have, we'll consider it.  
Take care

---

<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 21, 2018, 1:18pm UTC](https://discuss.elastic.co/t/set-extended-bounds-according-to-the-time-in-kibana/143918/5 "2018-09-21T13:18:20Z")

</div>

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