-
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] Add Heatmap option to show cell values #105410
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Done a first prototype with the feature and it seems there are some overlapping issues in some heatmap configurations. When there are few buckets on the Horizontal Axis labels seems to be a good fit (even tho there's no contrast evaluation): When the number of buckets start to be more than 10/15 (for instance with many top values or a date histogram) then there's no fill check for the cell space (both vertically and horizontally): Perhaps a combination of configurations as |
For those cases, isn't better to use a table with dynamic colors?
|
Maybe. I would argue that even in the "good" cases it is still better a table.
That would be helpful to evaluate.
I think that these routes are pretty hard if we want to move forward with this feature. Probably rotated labels are the best thing we could achieve, but that should be a chart feature (I've actually looked for that but could not find an option for heatmap). |
Yes, I would really like to see how pagination works! I see that the legacy heatmap hides the labels when they don't fit in the cell. It would make sense to also have it here (and in the legacy one when we replace it with elastic-charts). The ideas of rotation and text contrast are also something that I think we should explore. |
Just discussed a bit with @markov00 offline and wondering: does it really make sense to enable this feature when it only works for very few cases? The problems above show that we may think of mitigations for those, but even these mitigations leads to sub-optimal solutions. Datatables are better off to provide this kind of solution, now that dynamic-coloring/value-based coloring, is available. Would it be a better idea to help the user migrate from a heatmap to a datatable with dynamic-coloring already configured and matching the same palette? What do you think? |
@dej611 putting aside the issue of overlap for a minute, one area of improvement that leaps out at us is the vertical alignment of the decimal point within the same column. With this, if the user specifies a monospaced font for the numbers, then the sloppy mess of random numerical alignment, which we get with center alignment, can be solved |
Why the monospaced font is a requirement? I see it can speed things up a bit, but I guess it just an implementation optimization rather than a requirement. |
Describe the feature:
Add new control option to show/hide cell values in heatmaps.
Elastic-charts reference: https://elastic.github.io/elastic-charts/?path=/story/heatmap-alpha--categorical
The text was updated successfully, but these errors were encountered: