# How to get stacked line chart to ignore no-data values

**URL:** <https://discuss.elastic.co/t/how-to-get-stacked-line-chart-to-ignore-no-data-values/94779>\
**Category:** Kibana\
**Created:** [July 27, 2017, 11:46am UTC](https://discuss.elastic.co/t/how-to-get-stacked-line-chart-to-ignore-no-data-values/94779 "2017-07-27T11:46:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [July 27, 2017, 11:46am UTC](https://discuss.elastic.co/t/how-to-get-stacked-line-chart-to-ignore-no-data-values/94779/1 "2017-07-27T11:46:02Z")

</div>

Whenever I choose stacked mode to display data, I will always get the line to dip to 0 if I don’t set my data update interval to be high enough. How can I prevent this?

See attached

 ![](https://us1.discourse-cdn.com/elastic/original/3X/f/4/f4fa61be3ebbe0ed0eaa76e11cf9d0d547df2745.png)

What I would like to see instead is the lines moving across instead of dipping to 0.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [July 27, 2017, 9:08pm UTC](https://discuss.elastic.co/t/how-to-get-stacked-line-chart-to-ignore-no-data-values/94779/2 "2017-07-27T21:08:45Z")

</div>

I tried this too on my local set up, but found the line chart dipping to zero just like yours. See attached.

I asked our engineer here at elastic and this is what he opines: The reason it dips to zero, is because ES responds with empty buckets . We can't determine if that is no-data or 0-values, so we drop to 0. This is intended behavior ..So the work-around is increasing the time-interval, for more coarser buckets.

Also feel free to open an enhancement request here: [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new)

Thanks  
Rashmi

 ![32 PM](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b827a9fb28959ae58bd70e744e05ad2a0fe8e4b9.png)

---

<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:** [August 24, 2017, 9:09pm UTC](https://discuss.elastic.co/t/how-to-get-stacked-line-chart-to-ignore-no-data-values/94779/3 "2017-08-24T21:09:21Z")

</div>

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