# Percentage display inside the bar chart (aggregation based) doesn't appears correctly

**URL:** https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173
**Category:** Kibana
**Created:** [April 25, 2024, 7:13am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173 "2024-04-25T07:13:17Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![JenniferL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenniferl/32/132732_2.png) [@JenniferL](https://discuss.elastic.co/u/JenniferL)
#### Post date: [April 25, 2024, 7:13am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/1 "2024-04-25T07:13:17Z")

</div>

Hi guys!

I don't know why my visualisation looks this way: some of the percentage display inside the bars don't appear correctly:

Have you seen that before and do you have any idea how to fix it?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f659321ee26877b283d5f09623159938546fedb.png)

Thanks in advance 🙂

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [April 25, 2024, 9:05am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/2 "2024-04-25T09:05:19Z")

</div>

Hi @JenniferL,

It looks to me like some of your values are too big for the bar and are being cut off. Is that what you mean by appearing incorrectly? Does expanding the size of the chart in your dashboard address this?

---

<div class="post-metadata">

### Author: ![JenniferL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenniferl/32/132732_2.png) [@JenniferL](https://discuss.elastic.co/u/JenniferL)
#### Post date: [April 25, 2024, 9:15am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/3 "2024-04-25T09:15:52Z")

</div>

Hi Carly, thanks for your answer. I thought the same but actually no, the cut off values are not too big. In this example below, the two circled values should be "50%". I don't think "50%" is too big because in some other bars there are some other values which appears without being cut such as "38,462%". I tried to expand my visualisation but it still the same:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f7dba08983e631aa7e1b26ad01ff82cf5ddb26da.png)

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [April 26, 2024, 8:26am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/4 "2024-04-26T08:26:26Z")

</div>

Thanks for confirming. Which version of Kibana are you using?

---

<div class="post-metadata">

### Author: ![JenniferL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenniferl/32/132732_2.png) [@JenniferL](https://discuss.elastic.co/u/JenniferL)
#### Post date: [April 26, 2024, 8:28am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/5 "2024-04-26T08:28:49Z")

</div>

Stack Management 7.13.1

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [April 29, 2024, 8:55am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/6 "2024-04-29T08:55:57Z")

</div>

Hi @JenniferL,

Thanks for confirming. I did have a quick look through the old Kibana GitHub issues and can't see a known issue around that version. I'm wondering if it's to do with the size of the slides [similar to this pie chart issue](https://discuss.elastic.co/t/kibana-pie-chart-not-showing-all-the-labels/263192). Can you share your chart settings, and any label settings?

Just a warning that 7.13.1 is an old version that is past EOL, so we would recommend upgrading to a [supported version](https://www.elastic.co/support/eol) if you can.

Hope that helps!

---

<div class="post-metadata">

### Author: ![JenniferL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenniferl/32/132732_2.png) [@JenniferL](https://discuss.elastic.co/u/JenniferL)
#### Post date: [April 29, 2024, 12:32pm UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/7 "2024-04-29T12:32:25Z")

</div>

Hi @carly.richmond thanks a lot for your help.  
My settings are:

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b224b8aa9c7994c903999715db2650873b8242d1.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/f/aff9c1b5a23794fc140c3b4b8d0e71585df1b7e1.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dc57325d274f6ded747788acee94cd51fe46902d.png)

In the meantime I'm gonna try to see how I can upgrade my kibana version 😊

Thanks a lot

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [May 1, 2024, 9:03am UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/8 "2024-05-01T09:03:28Z")

</div>

No worries @JenniferL. You could also try playing around with the truncate setting to see if that impacts the truncation.

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [May 2, 2024, 1:22pm UTC](https://discuss.elastic.co/t/percentage-display-inside-the-bar-chart-aggregation-based-doesnt-appears-correctly/358173/9 "2024-05-02T13:22:51Z")

</div>

That issue is due to some bar slices with `0%` stacked just above other slices with a value. As TSVB has no value collision logic enabled the `0%` is rendered on top of the other slices, leading to this problem.

The same chart made with Lens (and the legacy Agg-based editor too) should not have this problem in recent versions.
