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

Remove visualization:colorMapping Advanced Setting #193682

Closed
2 tasks
markov00 opened this issue Sep 23, 2024 · 1 comment · Fixed by #197802
Closed
2 tasks

Remove visualization:colorMapping Advanced Setting #193682

markov00 opened this issue Sep 23, 2024 · 1 comment · Fixed by #197802
Assignees
Labels
Feature:Vis Editor Visualization editor issues Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture

Comments

@markov00
Copy link
Member

The visualization:colorMapping setting was a tentative way to link colors to terms and reuse them across AggBased and TSVB charts.

This coloring mechanism takes place when one of the terms configured in the setting is also one of the terms passed to the chart. If that term defines a color association in the chart, then the color configured in the setting will take precedence over the default one.

This color mapping feature is only working with the compatibility palette, the default color palette used in Kibana 6.

The goal of this setting was to reuse the same colors across charts with the same terms in a dashboard, but due to its nature, an Advanced Settings applied to every chart in the same Space, it was difficult to master and use correctly. For example, you decided to associate to the term US the color red, but the term US can appear in different contexts and different dashboards where you are not interested in using the same color, but applying a different one or just the default. Applying these color mapping configurations should belong to the visualization or dashboard level, not at that higher level.

Lens never used this setting. We instead provide a per-chart color mapping feature (released as tech preview in 8.11 but going GA soon) with way more capabilities and configuration options than the mentioned setting.

Tasks:

  • Remove completely the settings and all the associated code
  • Provide a descriptive release note with the suggestion to use/switch to Lens and use the new color mapping.
@markov00 markov00 added Feature:Vis Editor Visualization editor issues Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture labels Sep 23, 2024
@elasticmachine
Copy link
Contributor

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

@mbondyra mbondyra self-assigned this Oct 23, 2024
@nickofthyme nickofthyme assigned nickofthyme and unassigned mbondyra Nov 12, 2024
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this issue Nov 26, 2024
…stic#197802)

## Summary

Fixes elastic#193682 Removes the deprecated `visualization:colorMapping` advanced setting.
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
…stic#197802)

## Summary

Fixes elastic#193682 Removes the deprecated `visualization:colorMapping` advanced setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Vis Editor Visualization editor issues Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants