# Timelion : shift between time cursor and y-axis

**URL:** <https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [February 10, 2017, 6:48pm UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699 "2017-02-10T18:48:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamachin](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mamachin](https://discuss.elastic.co/u/mamachin)\
**Post date:** [February 10, 2017, 6:48pm UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/1 "2017-02-10T18:48:28Z")

</div>

Hello,  
I am quite new in TimeLion and I have a very basic problem. I have data by month, and more precisely, each document (or row) has as date the first day of the month.  
The display of the line is ok. But, when I use the time cursor, there is like a shift between the y-axis and the time-cursor : when the time cursor is in the position of the 2nd of January, the time cursor displays the value of February.

I know Timelion use 'buckets' (even if I don't really know what it is). Is there any configuration, or function to specify to Timelion that the date should be the beginning of the bucket, instead of the end ?

Thanks in advance, and thanks for so cool functions in TimeLion !!!

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 10, 2017, 9:20pm UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/2 "2017-02-10T21:20:00Z")

</div>

hi @mamachin,

Are you referring to the vertical line showing the wrong date?

Perhaps you could you attach a screenshot or gif of what you are seeing? thx,

---

<div class="post-metadata">

**Author:** ![mamachin](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mamachin](https://discuss.elastic.co/u/mamachin)\
**Post date:** [February 13, 2017, 9:15am UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/3 "2017-02-13T09:15:11Z")

</div>

Yes I’m referring to the vertical red line.  
My data is  
2017-01-01 0.0  
2017-02-01 3168.99  
In the printscreen, the time cursor corresponds to 3rd January (let’s say), whereas the value displayed is the value of February. I would like to displayed the value of January.

And my expression is quite simple  
.es(index=myindex, timefield='date', metric='sum:data’)  
[cid:image001.jpg@01D285E2.0EE816C0]  
A piece of data is usually not relevant to an instant (a point in time) but to a period (a segment of time). It seems to me that Timelion should (or maybe do it and I don’t know) offer to declare that the relevancy period

- 

```
     ends (that’s the default behavior) at the mentioned date, or

```

- 

```
     begins (that’s what I need) at the mentioned date, or

```

- 

```
     the mentioned date is the middle of the relevancy period

```

![](https://us1.discourse-cdn.com/elastic/original/2X/d/d691d62dc5db3e2af14df22651a11de747cbb5bb.jpg)

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 14, 2017, 8:57pm UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/4 "2017-02-14T20:57:12Z")

</div>

@mamachin, thanks for the added explanation. I understand now. I don't believe there is a way to modify the book-ending behavior of timelion, or the ability to indicate a duration on a date-stamp. I'd agree with you that the label is not an intuitive read-out value.

I would log this as an issue in [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new), thx.

---

<div class="post-metadata">

**Author:** ![mamachin](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mamachin](https://discuss.elastic.co/u/mamachin)\
**Post date:** [February 15, 2017, 8:58am UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/5 "2017-02-15T08:58:35Z")

</div>

Thank you Thomas. I have created the issue

> <https://github.com/elastic/kibana/issues/10362>

---

<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:** [March 15, 2017, 8:58am UTC](https://discuss.elastic.co/t/timelion-shift-between-time-cursor-and-y-axis/74699/6 "2017-03-15T08:58:57Z")

</div>

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