# Not able to connect the points in kibana

**URL:** https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121
**Category:** Kibana
**Created:** [June 8, 2018, 9:07am UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121 "2018-06-08T09:07:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Suruchi\_Narang](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Suruchi\_Narang](https://discuss.elastic.co/u/Suruchi_Narang)
#### Post date: [June 8, 2018, 9:07am UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121/1 "2018-06-08T09:07:53Z")

</div>

Hi,

I am trying to create a visualization using timelion in kibana. Somehow, I am able to create the points in the graph, but unfortunately not able to join them. Is there any function available where i can connect the points to draw the line.  
Can someone help to join red/green dots to draw a line. ?

![dots](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b8d32635b5ecee220c91e6a2833302c3409d379c.PNG)

---

<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: [June 8, 2018, 4:53pm UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121/2 "2018-06-08T16:53:52Z")

</div>

What does your timeline query look like? Depending on the query, the following may help:

Use `.lines(show=true)`:

> [@Is it possible to put dots on lines in Timelion?](https://discuss.elastic.co/t/is-it-possible-to-put-dots-on-lines-in-timelion/83675/2):
>
> Hi @elasticcloud, showing both lines and dots should be possible by setting the show=true as in .points(show=true).lines(show=true)

Use `.fit(average)`:

> **[Normalizing sparse time series with Timelion](https://www.elastic.co/blog/sparse-timeseries-and-timelion)**

---

<div class="post-metadata">

### Author: ![Suruchi\_Narang](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Suruchi\_Narang](https://discuss.elastic.co/u/Suruchi_Narang)
#### Post date: [June 12, 2018, 9:53am UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121/3 "2018-06-12T09:53:21Z")

</div>

Hi Jen,

Thanks for the reply. I tried using .lines(show=true).fit(average).With this added to my lucene query, the lines are drawn, but somehow line is also plotted for the zero values  
I just want to join the points where value = 20 and not zero.

Is there any way to avoid timestamp while plotting the line?

 ![dots](https://us1.discourse-cdn.com/elastic/original/3X/a/b/ab62f9bd51db19b475d6f3d7c31af833dfaccb29.PNG)

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Suruchi\_Narang](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Suruchi\_Narang](https://discuss.elastic.co/u/Suruchi_Narang)
#### Post date: [June 19, 2018, 5:15am UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121/4 "2018-06-19T05:15:55Z")

</div>

issue got resolved by selecting interval 1d in the visualization, the line graph is now plotting datewise instead of timestamp

---

<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 17, 2018, 5:16am UTC](https://discuss.elastic.co/t/not-able-to-connect-the-points-in-kibana/135121/5 "2018-07-17T05:16:02Z")

</div>

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