-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Limit top values & filters on waffle visualizations #121335
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@elastic/datavis @gvnmagni this was discussed in a weekly late last year. what should the limit itself be? |
I don't remember exactly but I believe the decision should revolve around the size of those data categories. The problems arose when we try to display categories with values close to 1%, so close to one square. Due to rounding in values we would end up with issues. This could be a way to see his, we could prevent these errors putting all categories with value below 1% into a generic "other" or something similar. But don't take this for final since this is an over-simplistic solution, let's ping @monfera, @flash1293 and @markov00 to see if they remember a bit better. |
Together with the reasoning provided by Giovanni, we need also to consider the number of colors used. We can have a full rainbow carousel because we are showing 100 different 1% series: the rule 5 ± 2 to me always applies, it's a good compromise and allow the user to clearly discern the colors, link them to a name in the legend and remember that name when watching again the chart next time. |
This issue just mentions top values and filters - does this mean we are fine with date histogram and intervals because they are not as common? As the buckets are automatically generated for these it will be much more complex to limit them in a way transparent to the user. About terms and filters:
|
I think this really needs do be aligned with the Lens behaviour is similar situations, it should be clear, from the UX point of view, what is going to happen when switching between non-compatible charts: are you "keeping around" the unused configurations or are you removing them? if you are removing them, when do you perform that? at the time of saving the viz? |
Describe the feature:
Limit the number of top values & filters allowed in waffle visualizations
Describe a specific use case for the feature:
Mitigate issues like this one which stem from how waffle calculates 1% bins:
elastic/elastic-charts#1516
The text was updated successfully, but these errors were encountered: