# Line graph from 0

**URL:** https://discuss.elastic.co/t/line-graph-from-0/184547
**Category:** Kibana
**Created:** [June 6, 2019, 9:46am UTC](https://discuss.elastic.co/t/line-graph-from-0/184547 "2019-06-06T09:46:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Myles\_Kingsnorth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myles_kingsnorth/32/45680_2.png) [@Myles\_Kingsnorth](https://discuss.elastic.co/u/Myles_Kingsnorth)
#### Post date: [June 6, 2019, 9:46am UTC](https://discuss.elastic.co/t/line-graph-from-0/184547/1 "2019-06-06T09:46:36Z")

</div>

I've created a visualisation in Kibana (version 7.0.0) which shows a line chart for max duration split across the action type. Sometimes there is no data for that action for a period of time, as a result, my graph has floating lines.

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

I'd like this to start at 0. I've tried adding `{"min_doc_count": 0}` to the JSON input for my X axis, however, it doesn't solve the problem. Any suggestions?

I am using the Kibana visualisation UI to create my visualisations, I also don't have a great understanding of Kibana and Kibana visualisations but I've been researching and can't get a working solution.

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [June 6, 2019, 8:35pm UTC](https://discuss.elastic.co/t/line-graph-from-0/184547/2 "2019-06-06T20:35:52Z")

</div>

I don't think this is possible using most of Kibana's core visualizations. However, I believe if you create your visualization using the [time series Visual Builder](https://www.elastic.co/guide/en/kibana/current/time-series-visual-builder.html), it has that behavior you are looking for by default... so you might try giving that a shot!

---

<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 4, 2019, 8:35pm UTC](https://discuss.elastic.co/t/line-graph-from-0/184547/3 "2019-07-04T20:35:55Z")

</div>

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