# Fill in the empty buckets as 0 - Line Graph using date histogram, for count & cumulative count

**URL:** <https://discuss.elastic.co/t/fill-in-the-empty-buckets-as-0-line-graph-using-date-histogram-for-count-cumulative-count/171982>\
**Category:** Kibana\
**Created:** [March 12, 2019, 2:48pm UTC](https://discuss.elastic.co/t/fill-in-the-empty-buckets-as-0-line-graph-using-date-histogram-for-count-cumulative-count/171982 "2019-03-12T14:48:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ek9boy](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@ek9boy](https://discuss.elastic.co/u/ek9boy)\
**Post date:** [March 12, 2019, 2:48pm UTC](https://discuss.elastic.co/t/fill-in-the-empty-buckets-as-0-line-graph-using-date-histogram-for-count-cumulative-count/171982/1 "2019-03-12T14:48:09Z")

</div>

I am using a line graph to predict a count and cumulative count every hour per day.

If a file comes in at 3am it will start the count from there and not show anything on from 12am. likewise if no files come in after 7pm it will stop and not show a continuous line. Rather this should be 0

Is there a way to ensure a line is always produced even for no files coming in every hour, these can be 0

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [March 12, 2019, 8:34pm UTC](https://discuss.elastic.co/t/fill-in-the-empty-buckets-as-0-line-graph-using-date-histogram-for-count-cumulative-count/171982/2 "2019-03-12T20:34:46Z")

</div>

Hi, this is intentional behavior to not connect points over null buckets. For some use cases, it makes sense to connect them, but for others, it doesn't. [There is an open enhancement issue](https://github.com/elastic/kibana/issues/17717) to allow configuration for this handling.

---

<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:** [April 9, 2019, 8:34pm UTC](https://discuss.elastic.co/t/fill-in-the-empty-buckets-as-0-line-graph-using-date-histogram-for-count-cumulative-count/171982/3 "2019-04-09T20:34:49Z")

</div>

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