V
V
Vasyl Semilyak2016-10-05 09:25:06
css
Vasyl Semilyak, 2016-10-05 09:25:06

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)
c933b70b9a7f4a0ebe3517cf4ef2284e.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GreatRash, 2016-10-05
@GreatRash

Masks.

A
Alexander Korotaev, 2016-10-06
@lekzd

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 question

Ask a Question

731 491 924 answers to any question