How to build a line chart?

Faced with this challenge:
You must build a line chart with a vertical line which shows the boundary. The left side should be shaded in red, right green, respectively.
Began to look for examples in the libraries, and examples then and there... did like the D3. But I was able to draw only the graph and a vertical line, and to paint and display a legend I can't.
Tell me how to create this type of schedule?
Is there any already existing solutions to implement?
My code which is not in the shaded region and there are legends.

This code will be used in conjunction with Angular 6.*
Grateful for answers!
March 12th 20 at 08:04
1 answer
March 12th 20 at 08:06

Find more questions by tags FrontendAngular