Skip to content

make legend order match stacked bar order #3118

@kevinkluge

Description

@kevinkluge

From what I've seen, when K4 renders a stacked bar in some top-bottom color order (e.g., red, yellow, green), the legend is listed in the opposite top-bottom order (e.g. green, yellow, red). Right now, it's easy to see the two orderings are different, but it's not so easy to see that they are opposite. As a result, moving from bar to legend turns into a matching game, which can be even more annoying if the colors are close together or you have some condition that makes distinguishing colors difficult.

I'd like to see the legend listed in the same top-bottom order as the bars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensFeature:Vis EditorVisualization editor issuesFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions