elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.59k stars 8.21k forks source link

[Lens] Allow color mapping for new metric non number fields #168999

Open stratoula opened 1 year ago

stratoula commented 1 year ago

Describe the feature:

When this is merged https://github.com/elastic/kibana/issues/137756 the users won't be able to color the tiles that have non numeric metrics. There are use cases that this would be really helpful (for example statuses use cases). We could support this by allowing the new color mapping functionality for these fields.

image

So in the example below I can say that I want US to be mapped with colorA, CN with colorB etc

elasticmachine commented 1 year ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

nickofthyme commented 1 year ago

users won't be able to color the tiles that have non numeric metrics

We should check for this and disable the dynamic coloring option.

mbondyra commented 1 year ago

Let's also add the same functionality for datatable.