-
Notifications
You must be signed in to change notification settings - Fork 185
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
Color gradients? #185
Comments
related: #362 |
may be fixed by #700 (it doesn't allow the gradients to be based on the data, but we can't realistically cover every use case: if one needs to compute gradients from data, there is still room to do it with vanilla JS or D3 (?)) |
Pretty close, but it would be much nicer if you could express inline syntax for a gradient rather than having to create the linearGradient element in SVG. I think we could do this by writing a CSS parser for the linear-gradient function. This would create a linearGradient element under the hood with a dynamic id. https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient() |
It’d be nice to have a way to specify a color gradient, presumably spanning the chart area in either x or y, with some given color stops.
The text was updated successfully, but these errors were encountered: