Skip to content
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] Separate color dimension for all chart types #95556

Open
flash1293 opened this issue Mar 26, 2021 · 2 comments
Open

[Lens] Separate color dimension for all chart types #95556

flash1293 opened this issue Mar 26, 2021 · 2 comments
Labels
enhancement New value added to drive a business result Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects

Comments

@flash1293
Copy link
Contributor

It's already possible (resp. will be possible soon) to color pie slices, xy chart series and table cells by their current value or series name.

However in some cases, the coloring should happen by some other condition. It should be possible to specify a separate dimension/metric to do the coloring by.

An example use case is a bar chart of countries with some metric. The bar color should indicate the continent of the country. This would be possible by specifying a separate coloring dimension which is set to "last value" of the continent field.

Another example is a bar chart of revenues per product. The color should indicate whether the profit is positive or negative. In this case the separate coloring dimension would be set to a formula like sum(total) - sum(cost), in combination with a custom color palettes which with two colors (larger and smaller than 0)

@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Mar 26, 2021
@flash1293 flash1293 added this to Long-term goals in Lens via automation Mar 26, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@ghudgins
Copy link

+1

we may want to look at displaying one thing but colouring by a different value, e.g. display hostname but colour on max cpu

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Feb 15, 2023
@timductive timductive added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
No open projects
Lens
  
Long-term goals
Development

No branches or pull requests

5 participants