Answer the question
In order to leave comments, you need to log in
How to implement a graph with gradient (background) + forecast line?
Hello! How to implement a graph with such a gradient in the background? Also need a forecast line (dashed)
Answer the question
In order to leave comments, you need to log in
Gradient line jsfiddle.net/9bMPD
The idea is to make a gradient that can be used as a fill for a polygon or a line.
The dashed line style is set for the entire context at once with
After use, it must be reset.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question