esnet / esnet/react-timeseries-charts
Gradient color on LineCharts
Open
:octocat: help wanted
:sparkles: enhancement
- Dominant language
- JavaScript
- Stars
- 876
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
What would be the right approach to upgrade the LineChart with possibility to define gradient color like this:
https://bl.ocks.org/mbostock/3969722
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
It seams gradient definition can be added anywhere so it would be interesting to modify LineChart or any other to accept two additional properties "colorGradient" default "linearGradient" and "colorGradientStops": PropType.array and render them in the LineChart grouping?
Would you find this interesting to add with a pull request?
Cheers
Contributor guide
Assessment
This issue has not been assessed yet.