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.
5bbda56a9f8b8228392481.jpeg
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.
https://plnkr.co/edit/9tnP6l15dqmCaOAK8Ojm?p=preview

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
Solution

Find more questions by tags FrontendAngular