# Unwanted line break of numerical value in tooltip

**URL:** <https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [February 16, 2023, 9:31am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706 "2023-02-16T09:31:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonas\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonas_s/32/97631_2.png) [@Jonas\_S](https://discuss.elastic.co/u/Jonas_S)\
**Post date:** [February 16, 2023, 9:31am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/1 "2023-02-16T09:31:32Z")

</div>

Hello,

when adding a break down to visualizations, the tooltip width can be to small, so a line break is made. Which is ok, by itself, but it results in also adding a line break in the numerical value in the end:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91f55732e0ec092106d6b2c53cffe32d493d2b75.png)  
There is more then enough space to have the 20650 in either the first or the second line.

It gets even worse with more values in the tooltip:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07ebaa0dab14d952cdbad2d8e704ed983214c8fd.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/845f4e10dd9613cc89b03dc3441235b0be5f02be.png)

The line break for one entry can lead to the line break of the number of other entries, even if the text for that entry is clearly short enough, as you can see with "Other". And for an outsider it looks non deterministic when numbers of other entries get a line break. On the top the Other is fine, on the bottom, not so much.

It can also happen that just a single digit is in the top row:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/0/10417f339df22ccb30ff61bef5fe810f8d7c73c5.png)

Is there any way to stop the linebreak for the number so only the left hand side gets the line break if necessary.

Note that the number is only broken by the 1000 mark. Even 10,00000 will never result in a line break of the number.

Alternatively it would also be sufficient if one could increase the width of the tooltip, but as far as i know thats not possible.

Kibana Version 8.5.2

Best regards  
Jonas

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [February 20, 2023, 12:07pm UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/2 "2023-02-20T12:07:31Z")

</div>

Hi @Jonas_S,

Could you please create a bug issue in Kibana github repo? Thanks!

> **[Issues · elastic/kibana](https://github.com/elastic/kibana/issues)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [February 21, 2023, 10:23am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/3 "2023-02-21T10:23:22Z")

</div>

This is indeed a bug that will be fixed when 8.7.0 will be released. It happens only if there is a space on the value for example `20 650`.

---

<div class="post-metadata">

**Author:** ![Jonas\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonas_s/32/97631_2.png) [@Jonas\_S](https://discuss.elastic.co/u/Jonas_S)\
**Post date:** [February 21, 2023, 10:39am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/4 "2023-02-21T10:39:44Z")

</div>

Ok, thanks for the info. So i don't need to create another bug issue, right?

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [February 21, 2023, 10:57am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/5 "2023-02-21T10:57:50Z")

</div>

No we looked into it and we confirm that this was a bug on 8.5 and 8.6 but it will be fixed on 8.7

---

<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 21, 2023, 10:58am UTC](https://discuss.elastic.co/t/unwanted-line-break-of-numerical-value-in-tooltip/325706/6 "2023-03-21T10:58:31Z")

</div>

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