-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lens] Multi-dimensional Legend - separate visually #3402
Comments
👍 this would make legends for charts with sub aggregations much more readable |
I'm looking at implementing the second possibility. Should have a pull request today or tomorrow. |
+1 Yes, the combined legend of a multilevel pie chart is confusing. |
+1 |
1 similar comment
+1 |
+1 |
2 similar comments
+1 |
+1 |
+1 |
I agree |
+1 |
+1 |
1 similar comment
+1 |
dependent elastic-charts issue: elastic/elastic-charts#223 |
This is available in Lens and aggbased partition charts. Here is a screenshot of a multilevel pie chart with the nested legend switch set to true. The issue mentioned above elastic/elastic-charts#223 is a bit different and of a larger scope. So I closing this :) |
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)
The text was updated successfully, but these errors were encountered: