You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
stop
s of thelinearGradient
in thesvg
'sdefs
, 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?
The text was updated successfully, but these errors were encountered: