# How to skip some date in x-axis if no data on that date

**URL:** <https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977>\
**Category:** Kibana\
**Created:** [July 7, 2016, 5:20pm UTC](https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977 "2016-07-07T17:20:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magic](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Magic](https://discuss.elastic.co/u/Magic)\
**Post date:** [July 7, 2016, 5:20pm UTC](https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977/1 "2016-07-07T17:20:17Z")

</div>

I want to use Kibana to illustrate stock information and stock market is not open at weekend.  
How can I skip some date (e.g. weekend) in Kibana chart?  
How can I skip some date (e.g. weekend) in Timelion chart?

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 7, 2016, 6:59pm UTC](https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977/2 "2016-07-07T18:59:37Z")

</div>

I don't think there's any way to visually remove the space from the date histogram. I tried adding `min_doc_count` to the advanced JSON, which removes the empty buckets from the elasticsearch results, but it had no effect on the chart.

What we really need is a "Show empty buckets" option like on the histogram agg:

![](https://us1.discourse-cdn.com/elastic/original/2X/6/6d08d7049f0ca0c9409639fc6dec9874c4cb157d.png)

I'd encourage you to file an enhancement request on the Kibana github repo: [https://github.com/elastic/kibana](https://github.com/elastic/kibana)

---

<div class="post-metadata">

**Author:** ![Magic](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Magic](https://discuss.elastic.co/u/Magic)\
**Post date:** [July 8, 2016, 7:18pm UTC](https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977/3 "2016-07-08T19:18:18Z")

</div>

Thanks and done: [https://github.com/elastic/kibana/issues/7688](https://github.com/elastic/kibana/issues/7688)

---

<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:** [July 6, 2017, 1:47pm UTC](https://discuss.elastic.co/t/how-to-skip-some-date-in-x-axis-if-no-data-on-that-date/54977/4 "2017-07-06T13:47:32Z")

</div>


