Chartjs-Graph data from a angular form to ChartJs

1👍

You can you behavior subject in service if both the component are at same level.

and chart component subscribe to that subject , when user enter value form component update the behavior subject and chart component will get notified via subscribe.

And as you receive value you can make data Set as required by charts js and hit the update method of that chart.

Leave a comment