# Sparsely populated Date Histogram - Scale x-axis to data bounds

**URL:** <https://discuss.elastic.co/t/sparsely-populated-date-histogram-scale-x-axis-to-data-bounds/25245>\
**Category:** Kibana\
**Created:** [July 9, 2015, 2:54pm UTC](https://discuss.elastic.co/t/sparsely-populated-date-histogram-scale-x-axis-to-data-bounds/25245 "2015-07-09T14:54:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maran](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@maran](https://discuss.elastic.co/u/maran)\
**Post date:** [July 9, 2015, 2:54pm UTC](https://discuss.elastic.co/t/sparsely-populated-date-histogram-scale-x-axis-to-data-bounds/25245/1 "2015-07-09T14:54:39Z")

</div>

Hi!

I'm using ELK to support work with system tests. Since i'm not constantly running tests my data is sparsely populated and comparability between tests is important. Currently i'm opening the same dashboards two times, selecting different time periods and comparing the results.

But what I would want is to split lines between index names and viewing them in a single date histogram. This works but the Date histogram fills the chart with empty spaces since the tests are run over different time periods. I feel there should be a setting somewhere to remove this feature and only display results where x-axis (time) has a value. Is there a solution to this?

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 10, 2015, 4:48am UTC](https://discuss.elastic.co/t/sparsely-populated-date-histogram-scale-x-axis-to-data-bounds/25245/2 "2015-07-10T04:48:27Z")

</div>

There's not really, no ☹

---

<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, 2:16pm UTC](https://discuss.elastic.co/t/sparsely-populated-date-histogram-scale-x-axis-to-data-bounds/25245/3 "2017-07-06T14:16:42Z")

</div>


