-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Lens] Multi-dimensional Legend - separate visually #3402
Copy link
Copy link
Closed
Labels
Feature:LensFeature: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:LensFeature: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.
When creating a multi-dimentional visualization (e.g. Pie chart based on multiple levels of aggs), the legend can sometimes get unwieldy, as the values from both levels of aggregation are combined into a single list.
It would be nice to have the values separated into levels that correspond with the level of the Aggs. I could imagine going in two directions - one where the 2nd level is listed per first-level, and one where the values were simply grouped by level.
Example:
Data: Crime Data about car thefts, containing brand, model, color, etc.
Query: Terms aggregation - top 2 brands (by count of thefts), sub-aggregation: Terms Agg - top 3 models by count of thefts.
Legend Output today (made-up data!):
Ford and Chevrolet are brands that come from the top-level aggregation, while the rest are models that come from the
Possibility 1
Possibility 2 (could result in duplication of values, depending on the data)