Kibana: Ability to remove legend of visualizations

Created on 28 Mar 2019  路  13Comments  路  Source: elastic/kibana

Kibana version: 6.6.7

Elasticsearch version: 6.6.7

Server OS version: Ubuntu 18.04

Browser version: chrome 72

Browser OS version: Ubuntu 18.04

Original install method (e.g. download page, yum, from source, etc.): apt

Description of the problem including expected versus actual behavior:
All graphical visualization panels don't have a way to hide the legends

Steps to reproduce:

  1. Create a pie chart in kibana
  2. Pie chart is shown on screen along with legend
  3. Search for an option to remove legend from panel

    1. No option to remove legend from panel is available

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Describe the feature:

Lens Vis Editor KibanaApp enhancement

Most helpful comment

+1, there are cases when tooltips are sufficient and when working with large datasets the legend becomes huge.

Simple fix would be to add a "Legend position": none which just sets visibility hidden.

All 13 comments

On dashboards, there's an icon:
image

That toggles the legend. I think it defaults to hidden in Kibana 7+, at least.

Yes, there is a toggle icon (arrow) to show and hide legends. However, there should be a way to remove it completely from the view.

Pinging @elastic/kibana-app

I agree that would be a useful addition, for any chart (not just pie chart), to have the ability to disable the legend altogether.

@timroes I've removed the Feature:ElasticCharts label as it's an implementation details of the visualize editor more than the chart it self (elastic-charts already have this option)

What's the reasoning behind this request? What are some examples where you would want to hide the legend?

I also thought about this - when you have just a single series in your chart and it's clear from the axis labels what the data is about, you can save space by hiding the legend.

+1, there are cases when tooltips are sufficient and when working with large datasets the legend becomes huge.

Simple fix would be to add a "Legend position": none which just sets visibility hidden.

+1 For smaller datasets, there is no need for a legend. All it does is take up valuable real estate. I would like the ability to remove the legend for the pie chart visualization.

Please disregard.. I just realized that for the Line chart, hiding the legend in the Editor and then saving, seems to default it to that state on the dashboard...

It's now possible to do this in Lens:
Screenshot 2020-08-10 at 11 04 36

This is missing in Kibana 7.9.1.

@prophoto It will be part of next release 7.10 : https://github.com/elastic/kibana/pull/70619

Was this page helpful?
0 / 5 - 0 ratings