# Timelion visualization is wrong

**URL:** <https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [June 5, 2020, 10:59pm UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011 "2020-06-05T22:59:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjaysubramanian](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjaysubramanian](https://discuss.elastic.co/u/sanjaysubramanian)\
**Post date:** [June 5, 2020, 10:59pm UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/1 "2020-06-05T22:59:29Z")

</div>

Hi all

IMHO , Timelion displays the data incorrectly. I am using Kibana 7.7.0  
My TimeZone is set through Kibana Advanced settings to **UTC**

I am attaching 2 videos  
[1] Chart visualization of Unique Conversations per day (video = Chart)

[![](https://us1.discourse-cdn.com/elastic/original/3X/e/1/e1b8eac89d2dee208ca5854ce99165188177317b.jpeg "chart") ](https://www.youtube.com/watch?v=RNNT7g1Cw2A)

[2] Timelion visualization of Unique Conversations per day (video=TimeLion)

[![](https://us1.discourse-cdn.com/elastic/original/3X/2/9/291c3cc6f7494c307f9b24d09ad9a6f3d2438290.jpeg "TimeLion") ](https://www.youtube.com/watch?v=-z9frV0aYWc)

The data is as follows  
2020-03-22 = 38 Unique Conversations  
2020-03-23 = 952 Unique Conversations

In the **Chart visualization** , when the mouse moves over the "2020-03-22" vertical bar, all points on the bar display a value of 38. Similarly when the mouse moves over the "2020-03-23" vertical bar, all points on the bar display a value of 952

In the **Timelion visualization** , when the mouse moves over the "2020-03-22" vertical bar, it shows 0 (zero !!!) on the bar till it crosses 07:00 hrs (_coincidentally I am 7 hours behind UTC_), then it displays 38. Similarly when the mouse moves over the "2020-03-23" vertical bar, it displays 38 all the way till you cross 07:00 hrs , then it displays a value of 952

My TimeLion configuration is as follows  
`.es(index=customer,metric=cardinality:conversation_id,q=*,timefield=ts).label('UNIQUE CONVERSATIONS').bars(width=10)`

Thanks  
warmly

sanjay

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 10:21am UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/2 "2020-06-12T10:21:36Z")

</div>

Hi @sanjaysubramanian,  
Unfortunately I can't play the video (youtube says that the video is private.  
Anyway Timelion always had some issues with timezones and in particular this more visible when you interact with the chart.  
Could you please check this bug also apply: [https://github.com/elastic/kibana/issues/67751](https://github.com/elastic/kibana/issues/67751)

---

<div class="post-metadata">

**Author:** ![sanjaysubramanian](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjaysubramanian](https://discuss.elastic.co/u/sanjaysubramanian)\
**Post date:** [June 12, 2020, 1:52pm UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/3 "2020-06-12T13:52:59Z")

</div>

@markov00

Hi Marco

I am so sorry for not making the videos public. May I please request you to look at the videos again? Apologies for making you spend double the time because of me.

Warmly

sanjay

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 2:39pm UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/4 "2020-06-12T14:39:07Z")

</div>

No need to be sorry about that,  
So I've checked and yes this is something that needs to be fixed. We are using different charting libraries on various visualization and there some differences. This particular case seems to be related to the fact that the timeline is a time-based chart where the linearity of the x scale doesn't play well with the way the bars on the bar chart are rendered. There is an effort going on that will remove all the various chart implementation in favor of a single implementation to catch and solve globally all these incongruences but there isn't a target date for that.

In the meantime, I will kindly ask you to create a GH issue for that so we can track it better [https://github.com/elastic/kibana/issues/new?template=Bug\_report.md](https://github.com/elastic/kibana/issues/new?template=Bug_report.md)

thank you

---

<div class="post-metadata">

**Author:** ![sanjaysubramanian](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjaysubramanian](https://discuss.elastic.co/u/sanjaysubramanian)\
**Post date:** [June 15, 2020, 2:08am UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/5 "2020-06-15T02:08:08Z")

</div>

@markov00  
Hi Marco

I logged the ticket as per your advice

> <https://github.com/elastic/kibana/issues/69122>
>
> Kibana version:
> 7.7.0
> Elasticsearch version:
> 7.7.0
> Server OS version:
> macOS Catalina 10.15.4 (19E287)
> Browser version:
> Google Chrome Version 83.0.4103.61 (Official Build) (64-bit)
> Browser OS version:
> Original install method (e.g. download...

Thanks  
warmly

sanjay

---

<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 13, 2020, 2:08am UTC](https://discuss.elastic.co/t/timelion-visualization-is-wrong/236011/6 "2020-07-13T02:08:09Z")

</div>

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