# X-Axis labels and limits on date histogram based on the interval

**URL:** https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020
**Category:** Kibana
**Created:** [February 4, 2019, 8:09pm UTC](https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020 "2019-02-04T20:09:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ebalmeida](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebalmeida/32/47103_2.png) [@ebalmeida](https://discuss.elastic.co/u/ebalmeida)
#### Post date: [February 4, 2019, 8:09pm UTC](https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020/1 "2019-02-04T20:09:52Z")

</div>

When I set the interval to monthly or yearly on a date histogram (vertical bar) visualization, the x-axis seems to ignore limits set in the timepicker and the labels behave erratically (labels don't respect the "filter labels" option, labels repeat if not enough buckets are present)

Is there any way to make the axis and labels behave consistently? Thank you.

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [February 5, 2019, 7:53pm UTC](https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020/2 "2019-02-05T19:53:27Z")

</div>

This sounds like a bug. Could you please open an issue at [https://github.com/elastic/kibana/issues/new?template=Bug\_report.md](https://github.com/elastic/kibana/issues/new?template=Bug_report.md)

---

<div class="post-metadata">

### Author: ![ebalmeida](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebalmeida/32/47103_2.png) [@ebalmeida](https://discuss.elastic.co/u/ebalmeida)
#### Post date: [February 5, 2019, 8:55pm UTC](https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020/3 "2019-02-05T20:55:35Z")

</div>

Alright, thank you very much.  
Did so at: [https://github.com/elastic/kibana/issues/30138](https://github.com/elastic/kibana/issues/30138)

---

<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: [March 5, 2019, 8:55pm UTC](https://discuss.elastic.co/t/x-axis-labels-and-limits-on-date-histogram-based-on-the-interval/167020/4 "2019-03-05T20:55:36Z")

</div>

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