-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
support different color maps #5117
Comments
This project creates such maps |
How do you see that feature supported/integrated? Do you have some examples/codes of how you would like to use it with your charts? |
It's possible to convert those colour scales to a |
I don't have an example yet, but I used it for the |
One plugin that auto creates gradients is https://github.com/bbc/Chart.bands.js which could be some inspiration. This is a quick sample I created using a plugin to generate the gradient responsively so that resizing works correctly. |
Added a sample file showing how to create gradients and use them in #6666. Turning the color maps into gradients is not a core feature we will support |
Hello,
I'm dealing with a lot of different data sets. I'm using also Chart.js plugins e.g. boxplot.
A request is, that Chart.js can support different colormaps e.g. like Matlab
This can be helpful for stacked datasets or grouped datasets, so that an item of a group / stack will get a unique color. IMHO something like:
colormap("jet", 5)
returns 5 colors by the jet colormap.Also a callback mechanism for generating such maps is very helpful
The text was updated successfully, but these errors were encountered: