-
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] Support categorical coloring by name #101942
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
I'm the OP of that post and I wanted to say that being able to assign any color to any parts of your visualizations is really important. While it might not seem so important from a data scientist point of view from a commercial point of view some companys will definetlly feel the app isn't appropiate if it can't use the company color scheme. Plus a lot of times you have different visualizations that show different things about the same data and you want to sync colors manually instead of having them asigned by your order hierarchy which in most cases leaves you with different colors for the same things when you don't want to. Not to mention that if I want to make a graph that includes both good and bad things I want to be able to color a part red and another green rather than being forced to whatever the color pallete assigns to it. I understand that this might be either hard to implement or seem inappropiate for significant terms or top values break downs, but I think it should be easy to implement them when you use filters since the user has to define the bounds for that data by hand. |
related requirement in - #36544 - the ability to color terms after a split / group by |
When this feature would be availble |
+1 from @cyrille-leclerc @katefarrar @andreadelrio - we reviewed designs yesterday that would benefit from having this support. the use case is log level (debug / warn / error / info) being assigned specific colors |
The inability to assign colors to values is generally a show stopper for me to leave aggregation visualizations and use lens, in a lot of cases. Similarly to log level, quickly differentiating other statuses that are good/bad requires useful coloring. |
Note: When this lands, it may make sense to reevaluate the usefulness of the "Sync color pallettes across panels" option at the dashboard level. |
+1 |
+1 |
+1 |
1 similar comment
+1 |
+1 |
1 similar comment
+1 |
Please use the 👍 in the issue description and avoid +1 comments. This issue is currently a work in progress but we don't have an ETA jet, thank you for your collaboration |
I understand people writing +1 to bring this issue back to relevance since enough time has passed I changed jobs twice since this issue was brought up |
## Summary This PR introduces the new color mapping feature into Lens. The color mapping feature is introduced as a standalone sharable component available from `@kbn/coloring`. The [README.md](https://github.com/elastic/kibana/blob/ddd216457d66912de43c7688ae99044c2c34bbd2/packages/kbn-coloring/src/shared_components/color_mapping/README.md) file describes the components and the logic behind it. The Color Mapping component is also connected to Lens and is available in the following charts: - XY (you can specify the mappings from a breakdown dimension - Partition (you can specify the mappings from the main slice/group by dimension) - Tag cloud (you can specify the mappings from the tags dimension) This MVP feature will be released under the Tech Preview flag. This PR needs to prove the user experience and the ease of use. UI styles, design improvements and embellishments will be released in subsequent PRs. The current MVP-provided palettes are just a placeholder. I'm coordinating with @gvnmagni for a final set of palettes. close #155037 close #6480 fix #28618 fix #96044 fix #101942 fix #112839 fix #116634 ## Release note This feature introduces the ability to change and map colors to break down dimensions in Lens. The feature provides an improved way to specify colors and their association with categories by giving the user a predefined set of color choices or customized one that drives the user toward a correct color selection. It provides ways to pick new colors and generate gradients. This feature is in Tech Preview and is enabled by default on every new visualization but can be turned off at will. ![image](https://github.com/elastic/kibana/assets/1421091/d03e59f8-4a6f-4761-ab4c-c53a57c1723a)
This feature was originally listed as a requirement of categorical color palettes in Lens, as it solves common problems that Lens users are facing.
Requirements
The user should be able to create a color palette by name, instead of by position.
Nice-to-have features
Related to #95556
The text was updated successfully, but these errors were encountered: