# Timelion drawing incorrectly

**URL:** <https://discuss.elastic.co/t/timelion-drawing-incorrectly/168473>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [February 14, 2019, 7:05pm UTC](https://discuss.elastic.co/t/timelion-drawing-incorrectly/168473 "2019-02-14T19:05:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Plazas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/miguel_plazas/32/40038_2.png) [@Miguel\_Plazas](https://discuss.elastic.co/u/Miguel_Plazas)\
**Post date:** [February 14, 2019, 7:05pm UTC](https://discuss.elastic.co/t/timelion-drawing-incorrectly/168473/1 "2019-02-14T19:05:49Z")

</div>

Hi, currently i'm trying to plot time series my data has records about daily sales, and this is my query:

`.es(index=demo_finanzas_21, timefield=timestamp, split=contrapartes.keyword:2 , q=" divisas:'USD' AND contrapartes:'Alan Juarez' ")`

An extrange thing is that each record is showing me the value of the previous record, because if i have a count of 4 for April 14th 2014, in my index has been indexed in timestamp field as **April 14 2014 00:00:00** but when i plotting it on timelion it shows me that in April 14th 2014 23:56:23 has a value of 4 when in the index is saved another time, and all day has a value of zero.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb73e70fb687ea917296867e38bdf062204613bd.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/5/3523c86939f8c8fdb3ac23211d5ea400f65c8797.png)

How can I solve this problem?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [February 22, 2019, 11:05am UTC](https://discuss.elastic.co/t/timelion-drawing-incorrectly/168473/2 "2019-02-22T11:05:24Z")

</div>

I think this depends on how the buckets are calculated. Can you try and reproduce the same chart using the default Line Charts in Kibana?

---

<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 22, 2019, 11:05am UTC](https://discuss.elastic.co/t/timelion-drawing-incorrectly/168473/3 "2019-03-22T11:05:24Z")

</div>

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