0👍
I used componentDidMount
instead of componentWillReceiveProps
and my problem got solved.
- Chartjs-How to display a progress over time in one horizontally stacked bar with chartjs
- Chartjs-Chart Js function (Chart.js) is stuck in a loop
Source:stackexchange.com