[Vis colors] Update legacy mapped colors in charts
plugin to use ouiPaletteColorBlind()
#4320
Labels
OUI compliance
Issues and PRs to maximize OUI usage and remove style and component hacks
unified visualization UX
A number of OpenSearch Dashboards visualization typesx (VisLib Area, VisLib Pie, VisLib Horizontal Bar, VisLib Line, VisLib Vertical Bar, and TSVB as a fallback) use legacy mapped colors from https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/charts/public/services/colors/color_palette.ts
(See opensearch-project/oui#601 for a visual output comparison)
These mapped colors don't rotate particularly well, because they tend to generate very similar colors. As part of this issue we may also consider getting rid of the entire mapped colors system, as bugs in its implementation leads to undesired behavior (colors that change on dashboard refresh and unexpected statefulness of visualizations).
The text was updated successfully, but these errors were encountered: