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 palette that allowed mapping legend values to colors #1086

Open
brharrington opened this issue Sep 18, 2019 · 0 comments
Open

custom palette that allowed mapping legend values to colors #1086

brharrington opened this issue Sep 18, 2019 · 0 comments

Comments

@brharrington
Copy link
Contributor

The current custom palettes are just a list of colors. For some use-cases it would be convenient to be able to map some labels to a given color.

Sample use-case: map http status codes to colors using green for success and reds for errors. Would likely need a default palette to use as a fallback.

The other issue with the current custom palettes is that they cannot be used with :palette operator as is.

/cc @elandau

@brharrington brharrington added this to the 1.7.0 milestone Sep 18, 2019
@brharrington brharrington modified the milestones: 1.7.0, 1.8.0 Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant