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

Handle consistent colors in charts when factor levels are missing #18

Open
sfirke opened this issue Mar 1, 2019 · 0 comments
Open

Handle consistent colors in charts when factor levels are missing #18

sfirke opened this issue Mar 1, 2019 · 0 comments

Comments

@sfirke
Copy link
Member

sfirke commented Mar 1, 2019

In particular, for our most common scales (e.g., "Strongly agree" onward).

This took some work to get functional:
image

Note the correct colors in the middle bars, as if the others were there.

I leaned on this answer: https://stackoverflow.com/a/22822231 but it would be nice to not have to hack this together each time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant