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

Does not support polylinear color scale #6

Open
amergin opened this issue Feb 24, 2017 · 0 comments
Open

Does not support polylinear color scale #6

amergin opened this issue Feb 24, 2017 · 0 comments

Comments

@amergin
Copy link

amergin commented Feb 24, 2017

Note that this implementation does not support polylinear color scale. For instance,

var linear = d3.scale.linear()
.domain([-0.55, -0.10, 0, 0.16, 1])
.range(['blue', "#b3b3ff", 'white', "#ffb3b3", 'red']);

is a valid linear color scale which is not properly drawn using this library. This kind of scale can be drawn using this implementation.

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