Skip to content

[Lens] add option hide/show/auto legend to XY Chart #67310

@mbondyra

Description

@mbondyra

As a user, I want to be able to set legend display option. The design should be probably aligned with pie (cc @cchaos, can you verify?)

image

Assumptions:

  1. Due to design limitations, legend is being set up on layer level, not visualisation level. (to discuss)
  2. By default legend display is setup to 'auto' (current behaviour)

Doubts:
On dashboards, there's an icon:
image
That toggles the legend. I am not sure how discoverable it is and it might be difficult to implement. Do we want it in lens?

Related: #34102

Metadata

Metadata

Assignees

Labels

Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions