Skip to content

[Lens] Allow Lens pie chart to order columns based on data #90179

@flash1293

Description

@flash1293

Currently Lens pie chart slices are always ordered by its size. In some cases, this can be confusing (e.g. if the user explicitly specified alphabetical ordering for the top values function).

As it's not a common practice to order pie charts any other way than by size, the current behavior should stay the default behavior. To allow the user to override it, there should be a toggle in the dimension editor "Order slices by size" which defaults to on (making the non-standard behavior opt-in for rare cases where it's necessary).

This requires changes on elastic-charts because it's not possible to configure the order of slices from the outside: elastic/elastic-charts#1012

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultgood first issuelow hanging fruitimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

    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