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

Custom Color in Legend resets if you change the CustomLabel #9219

Closed
schwin007 opened this issue Nov 24, 2016 · 3 comments
Closed

Custom Color in Legend resets if you change the CustomLabel #9219

schwin007 opened this issue Nov 24, 2016 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@schwin007
Copy link

Kibana version: 4.5

Elasticsearch version: 2.4

Server OS version: Mac OS X El Capitan

Browser version: Chrome

Browser OS version: 54.0.2840.98 (64-bit)

Description of the problem including expected versus actual behavior:

Custom legend color is not saved if you change the CustomLabel

Steps to reproduce:

  1. Create a visualization, bar, line, almost any except for Pie
  2. Click on an item in the legend and change the color
  3. Now apply a CustomLabel to the item.
  4. Press play, the custom color will reset.

NOTE: If you change the label first and then the color it is fine, but sometimes you need to change the Label at a later time and this is when it breaks.

@thomasneirynck thomasneirynck added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience P3 labels Nov 28, 2016
@marius-dr
Copy link
Member

Colors seem to be tied to label name, because if you change it back to the default one(or remove the CustomLabel), it goes back to your custom color.

@epixa epixa removed the P3 label Apr 25, 2017
@thomasneirynck
Copy link
Contributor

@marius-dr is correct. The custom coloring is tied to the label identifier. I agree that a more robust implementation would not do this.

@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Jul 26, 2021
@flash1293
Copy link
Contributor

Closing this issue because this is supported in Lens visualizations. The reference between color and metric series uses a unique id which allows it to keep custom colors even if the label changes

Since this would require a large development effort to implement in Visualize/TSVB and our efforts are focused on extending the functionality of Lens in easy-to-use and consistent way. We aim to provide the best possible visualization editing experience in Lens and are working to improve that tool and help users migrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

7 participants