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. https://plnkr.co/edit/9tnP6l15dqmCaOAK8Ojm?p=preview
This code will be used in conjunction with Angular 6.*
Grateful for answers!