# Kibana grouping the values in Legends

**URL:** <https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696>\
**Category:** Kibana\
**Created:** [June 20, 2018, 1:13pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696 "2018-06-20T13:13:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harish346](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@Harish346](https://discuss.elastic.co/u/Harish346)\
**Post date:** [June 20, 2018, 1:13pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696/1 "2018-06-20T13:13:09Z")

</div>

In kibana while using charts I need to group the values of legend under a title. For example if there are 6 values in legend I need to group as 2 pair under individual heading but currently I am not seeing any option for that.

---

<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:** [June 20, 2018, 4:23pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696/2 "2018-06-20T16:23:37Z")

</div>

Do you want to combine the values in the chart as well?

---

<div class="post-metadata">

**Author:** ![Harish346](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@Harish346](https://discuss.elastic.co/u/Harish346)\
**Post date:** [June 20, 2018, 5:40pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696/3 "2018-06-20T17:40:07Z")

</div>

No,I need to group only in Legend.For Example below are my values in legend  
a1pvd1  
a1pvd2  
a1pvd3  
aix1  
aix2  
aix3

I need Like this in legend  
Header1:  
a1pvd1  
a1pvd2  
a1pvd3

Header2:  
aix1  
aix2  
aix3

---

<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:** [June 20, 2018, 6:00pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696/4 "2018-06-20T18:00:30Z")

</div>

Ah, I see. This isn't currently something you can do. Feel free to open an enhancement request on GitHub.

---

<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 18, 2018, 6:00pm UTC](https://discuss.elastic.co/t/kibana-grouping-the-values-in-legends/136696/5 "2018-07-18T18:00:40Z")

</div>

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