# Line Graph empty values not working

**URL:** <https://community.grafana.com/t/line-graph-empty-values-not-working/13741>\
**Category:** Grafana\
**Created:** [January 22, 2019, 10:33am UTC](https://community.grafana.com/t/line-graph-empty-values-not-working/13741 "2019-01-22T10:33:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaacpm](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@isaacpm](https://community.grafana.com/u/isaacpm)\
**Post date:** [January 22, 2019, 10:33am UTC](https://community.grafana.com/t/line-graph-empty-values-not-working/13741/1 "2019-01-22T10:33:55Z")

</div>

Hi,

I’m trying to create a line graph that connects a value to the next without going to the 0 value.  
That makes the graph very “spiky” and difficult to read.  
The data source is elastic 6.0+.  
I have tried to set the Null Value to connected in the Display --\> Stacking & Null value section, but doesn’t make any difference.  
Is there a way to have the values connect to the next available value without dropping to 0?

Thanks,  
Isaac

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [January 22, 2019, 11:09am UTC](https://community.grafana.com/t/line-graph-empty-values-not-working/13741/2 "2019-01-22T11:09:28Z")

</div>

yes, in the date histogram you can expand the options and set Min Doc Count to 1 (instead of 0)

---

<div class="post-metadata">

**Author:** ![isaacpm](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@isaacpm](https://community.grafana.com/u/isaacpm)\
**Post date:** [January 22, 2019, 11:19am UTC](https://community.grafana.com/t/line-graph-empty-values-not-working/13741/3 "2019-01-22T11:19:37Z")

</div>

Thanks! it works like a charm 🙂
