-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Keep the split pie chart slice sort order constant across splits #7908
Copy link
Copy link
Closed
Labels
Feature:ElasticChartsIssues related to the elastic-charts libraryIssues related to the elastic-charts libraryFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Generic 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//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:enhancement
Metadata
Metadata
Assignees
Labels
Feature:ElasticChartsIssues related to the elastic-charts libraryIssues related to the elastic-charts libraryFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Generic 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//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.
Same issue if you split charts on a term aggregation;
