# Kibana 6.5.4: error on unfolding legend

**URL:** <https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894>\
**Category:** Kibana\
**Created:** [February 11, 2019, 4:31pm UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894 "2019-02-11T16:31:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [February 11, 2019, 4:31pm UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894/1 "2019-02-11T16:31:01Z")

</div>

Hey there,

don't know, if this is already known, but I encounter a bug in the legend of visualizations in 6.5.4 of kibana.

I have just a visualization with legend:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/2/62c98a07935837011b849f0ec80c067ea70df704.png)  
If I click on one legend entry the legend should get unfolded, that I can filter for or against one of the entries and that I can pick the colors.

It works fine, as long as the unfolded legend fits into the space of the visualization. If it dont' the legend flickers and collapses again. If I switch to fullscreen and the legend has enough room to unfold, it works as expected.

Can you reproduce? If so, please fix it.  
Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [February 12, 2019, 6:15pm UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894/2 "2019-02-12T18:15:46Z")

</div>

Certainly sounds like a bug, but I don't quite understand what you mean about the legend fitting or not fitting in the space. Would you mind posting this as a [bug on our issue tracker](https://github.com/elastic/kibana/issues/new?template=Bug_report.md)? What you have here is a sufficient explanation, except for a little clarity on the space part. If you can create a gif showing the issue, that would be even better, but isn't a requirement.

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [February 28, 2019, 11:23am UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894/3 "2019-02-28T11:23:01Z")

</div>

Sorry for my long delay for answering, was busy on another project.  
With space I mean the following:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/7/87b24612935394b8f31969881369a70b9ca3de4f.png)  
The blue box is the available space for the legend. It is inidirectly sized by the y size of the visualization.

When I click on a legend entry, kibana will expand the shown text to the full text (full length), will show the magnifying glasses for include / exclude filtering and it will show the color dots to change the color.

If that new legend context needs more space / more pixels than the blue box provides, I got this error I mentioned.

I can create a bug next week. Currently I have no access to the elastic stack where the error is occurring.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [March 11, 2019, 10:31pm UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894/4 "2019-03-11T22:31:45Z")

</div>

OK, I think I understand what you're saying now. That interface should scroll so you can get to all the labels. It works for me in master (which is more or less 7.0).

![Mar-11-2019%2015-29-56](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d09fcf65aa670c71263569d8962c087d2f12a64c.gif)

Maybe it was broken in 6.5.4, I haven't tried standing up that version of the stack.

---

<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 8, 2019, 10:31pm UTC](https://discuss.elastic.co/t/kibana-6-5-4-error-on-unfolding-legend/167894/5 "2019-04-08T22:31:49Z")

</div>

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