# Legend hiding in Kibana 4.5.2

**URL:** <https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667>\
**Category:** Kibana\
**Created:** [August 23, 2016, 10:24am UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667 "2016-08-23T10:24:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sruthi](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@sruthi](https://discuss.elastic.co/u/sruthi)\
**Post date:** [August 23, 2016, 10:24am UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/1 "2016-08-23T10:24:47Z")

</div>

As per the documentation [https://www.elastic.co/guide/en/kibana/4.5/line-chart.html](https://www.elastic.co/guide/en/kibana/4.5/line-chart.html), there is an option To Show Legend to enable/disable the legend in options tab. Is it not available in version 4.5.2?

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [August 23, 2016, 11:35am UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/2 "2016-08-23T11:35:20Z")

</div>

option was removed in 4.4. right now you can show/hide the legend by clicking on the arrow next to the legend.

would you mind explaining shortly your usecase, it might help us better understand why removing legend would be better than hiding it ?

---

<div class="post-metadata">

**Author:** ![sruthi](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@sruthi](https://discuss.elastic.co/u/sruthi)\
**Post date:** [August 23, 2016, 12:34pm UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/3 "2016-08-23T12:34:37Z")

</div>

I don't want to remove the legend. I don't want to show it by default. Setting a default collapsed legend will do the trick. But not sure its possible though.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [August 23, 2016, 1:15pm UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/4 "2016-08-23T13:15:24Z")

</div>

yeah you can do that.

create your visualiation and collapse legend. now save your visualization. (legend state will get saved with it).

if you add it to dashboard now legend will be collapsed by default.

---

<div class="post-metadata">

**Author:** ![sruthi](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@sruthi](https://discuss.elastic.co/u/sruthi)\
**Post date:** [August 24, 2016, 6:18am UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/5 "2016-08-24T06:18:50Z")

</div>

It worked. Thanks a lot. 🙂

---

<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 6, 2017, 1:40pm UTC](https://discuss.elastic.co/t/legend-hiding-in-kibana-4-5-2/58667/6 "2017-07-06T13:40:25Z")

</div>


