Skip to content

Keep the split pie chart slice sort order constant across splits #7908

@LeeDr

Description

@LeeDr

Describe the feature: When you split a pie chart using Filters, and define the Order as Descending or Ascending, the first split's slices are shown in that order and the legend in the order of the first split.
But the other pies are shown with their slices also in Descending or Ascending order which can be different for each split.

See the screenshot below where geo.src CN (green) has the highest percentage of css extensions, but geo.src IN (blue) has the highest percentage of jpg extensions (just slightly higher). This causes the order of the slices to change.

I think it would be easier to compare the differences in the split if the order of the slices were kept consistent and matching that of the legend. Others might argue that each split pie should be shown in the Descending or Ascending order. So maybe an option checkbox like "Maintain slice order" or something like that would be good. Let's see if other users think this is important or not.

2016-08-02 09_49_44-desktop

Same issue if you split charts on a term aggregation;
2016-08-02 10_10_12-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:ElasticChartsIssues related to the elastic-charts libraryFeature: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