-
Notifications
You must be signed in to change notification settings - Fork 750
Use a linear gradient as line color #419
Copy link
Copy link
Open
Description
I would like to be able to use a linear gradient as color for a line in the line graph, so that the line looks like this

I have looked through the docs and Github issues, but it looks like one can only set a color for a line and set lineOptions.heatline = true to get a fading effect on the line.
I tried to somehow hack the chart and replace the stops of the linearGradient in the svg's defs, but that just breaks the chart and nothing is rendered anymore, or it seems to be just getting replaced again from the chart rendering code.
Is there a way to do this, which i have missed?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels