# Issue with number of values being displayed for vertical and horizontal bars in kibana

**URL:** https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222
**Category:** Kibana
**Created:** [October 8, 2021, 10:13am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222 "2021-10-08T10:13:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![revati-chawla](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@revati-chawla](https://discuss.elastic.co/u/revati-chawla)
#### Post date: [October 8, 2021, 10:13am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/1 "2021-10-08T10:13:33Z")

</div>

Hello,

We are facing issues while visualising using vertical bars where the number of values being displayed on the x-axis are exceeding the limit defined in the **size** parameter.  
Version: 7.14.2

PFB a screenshot for your reference.

 ![Screenshot 2021-10-08 at 3.33.14 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d022fc79d6ee4c695a07b06b8f7ba45d0bb0156.png)

We are working with the same visualisation on version v7.9.3 where things are working as they should. PFB a screenshot for that.

 ![Screenshot 2021-10-08 at 3.36.23 PM](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b882143676e7e0292198ed06994da4453c06a349.png)

The same issue is occuring for horizontal bars as well.

Any idea what could be the issue and how we can fix this?

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [October 20, 2021, 11:24am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/2 "2021-10-20T11:24:48Z")

</div>

Hi there, could you send me the full screenshot of your configuration panel? I am trying to reproduce it, but it works fine for me so far.

 ![Screenshot 2021-10-20 at 13.24.41](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e08cef7f50c69eb40ace078b3fc572f9ddc09f1.png)

---

<div class="post-metadata">

### Author: ![revati-chawla](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@revati-chawla](https://discuss.elastic.co/u/revati-chawla)
#### Post date: [October 21, 2021, 7:07am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/3 "2021-10-21T07:07:25Z")

</div>

Hi Marta,  
PFB full screenshots of our configuration panel.

**Data**

 ![Screenshot 2021-10-21 at 12.29.22 PM](https://us1.discourse-cdn.com/elastic/original/3X/8/5/858311c4363f15a7d6fbdf686bf536c7c738cb6d.png)

**Metrics & axes**

 ![Screenshot 2021-10-21 at 12.30.07 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/e/eeef22197dcdc1e33efcdc2615bcec74aa6c0152.png)

**Panel Settings**

 ![Screenshot 2021-10-21 at 12.30.31 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8ec55559e8e88127b27f7ef29a577848f574bf5.png)

The issue is happening specifically for fields of type "Number". It was initially working fine for version 7.9.3.

We tried the same on [demos.elastic.co](http://demos.elastic.co) with the kibana\_ecommerce Index by keeping product.base\_price on the x-axis. PFB an image representing the same.

 ![Screenshot 2021-10-21 at 12.36.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/3/9/395017fb1858e19d8bbf2fe47e0889bfaad2ab18.png)

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [October 21, 2021, 9:44am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/4 "2021-10-21T09:44:47Z")

</div>

Hi @revati-chawla ok, I realized that your id field is a number and we do have a bug for terms aggregation on numbers. The [fix will come in in 7.16](https://github.com/elastic/kibana/pull/115729), but maybe in the meantime you could use Lens instead? It works fine there. Sorry it happened and let me know if that suits you.

---

<div class="post-metadata">

### Author: ![revati-chawla](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@revati-chawla](https://discuss.elastic.co/u/revati-chawla)
#### Post date: [October 21, 2021, 11:10am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/5 "2021-10-21T11:10:47Z")

</div>

Hi @Marta_Bondyra ,

Thanks a lot for your prompt response.  
Oh alright ! Thanks for confirming that. Any idea when is 7.16 expected to release?  
For new visualisations, we'll definitely use Lens but like I mentioned before we're actually in the middle of a migration, so we need to migrate all our older visualisations to the newer version. Hence , this fix is very important to us.

Look forward to your reply on the timelines.

Thank you !

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [October 21, 2021, 11:22am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/6 "2021-10-21T11:22:30Z")

</div>

Unfortunately I cannot give you the exact date, but I would expect it to appear in around month and a half.

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [October 21, 2021, 11:32am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/7 "2021-10-21T11:32:58Z")

</div>

@revati-chawla I spoke to the team and they told me about one more workaround: The change was caused when we implemented the new library, and you can turn on legacy charts library in advanced settings for now. That will help for all of the charts globally:

 ![Screenshot 2021-10-21 at 13.31.50](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1ec1a15ca32215cb0c12e9c9e6d4cb24498d2966.png)

---

<div class="post-metadata">

### Author: ![revati-chawla](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@revati-chawla](https://discuss.elastic.co/u/revati-chawla)
#### Post date: [October 21, 2021, 11:51am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/8 "2021-10-21T11:51:57Z")

</div>

Oh thanks @Marta_Bondyra , this really helped 🙂

Really appreciate your promptness!!

---

<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: [November 18, 2021, 11:52am UTC](https://discuss.elastic.co/t/issue-with-number-of-values-being-displayed-for-vertical-and-horizontal-bars-in-kibana/286222/9 "2021-11-18T11:52:32Z")

</div>

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