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

A color for a group #109

Open
elarion83 opened this issue Jan 14, 2022 · 1 comment
Open

A color for a group #109

elarion83 opened this issue Jan 14, 2022 · 1 comment

Comments

@elarion83
Copy link

Hi there,

thank you for this fantastic package. I have a question here, is it possible to set a color for a group and not by data type ? Like line 1 in red, 2 in blue, .. thank you !

@vasturiano
Copy link
Owner

@elarion83 that should be easily doable, you just need to assign the same category (val) to all the elements within a given group. So that it translates onto the zColorScale in the way that you're intending.

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

2 participants