# Precision in timelion labels

**URL:** <https://discuss.elastic.co/t/precision-in-timelion-labels/173038>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [March 19, 2019, 7:04pm UTC](https://discuss.elastic.co/t/precision-in-timelion-labels/173038 "2019-03-19T19:04:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![camjesus2](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@camjesus2](https://discuss.elastic.co/u/camjesus2)\
**Post date:** [March 19, 2019, 7:04pm UTC](https://discuss.elastic.co/t/precision-in-timelion-labels/173038/1 "2019-03-19T19:04:39Z")

</div>

Hi!  
I'm having some difficulties with the labels of my timelion charts (Kibana 6.6.2).  
The thing is that the value printed on the label is somehow a rounding of the value on the chart. In the next chart, ALL values in the plateau between 18:20:00 and 18:40:00 show up as either 3 or 4, even though in the graph it's clear they float around.

 ![IMG_2](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb206439e200c4145a9e2025d8e79abbf09dba3d.jpeg)  
If I then zoom-in into that region, I get the decimals.  
 ![IMG_3](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8330d2a41df6d961927feac995cc3c88e2f15ac.jpeg)  
Is there a way to control the number of decimals printed on the label irrespective of the y-axis scale? I couldn't find a reference for that. Sometimes, google isn't my friend 😭

Best regards,  
Carlos

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [March 20, 2019, 4:50pm UTC](https://discuss.elastic.co/t/precision-in-timelion-labels/173038/2 "2019-03-20T16:50:23Z")

</div>

Hmm, have you tried using the `precision` function in Timelion? If that doesn't work it may be a good idea to report this as a bug.

---

<div class="post-metadata">

**Author:** ![camjesus2](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@camjesus2](https://discuss.elastic.co/u/camjesus2)\
**Post date:** [March 20, 2019, 6:57pm UTC](https://discuss.elastic.co/t/precision-in-timelion-labels/173038/3 "2019-03-20T18:57:43Z")

</div>

Hey Lukas, thanks for taking the time to answer!  
Yeap. Precision was one of the things I tried. As far as I could understand, it did nothing at all (the calculation part is correct, only the labels are "wrong").  
There is a similar(?) report ( #12041) and also ( #17379) but I'm not sure if it is the same issue.  
I'm kinda surprised this hasn't been brought up before with more... intensity? (gotta improve my English). I'll head to gthub then and report this as a bug.

Regards!  
Carlos

---

<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:** [April 17, 2019, 6:57pm UTC](https://discuss.elastic.co/t/precision-in-timelion-labels/173038/4 "2019-04-17T18:57:50Z")

</div>

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