0👍
You have to use chart.update()
after changing your data.
chart
is your variable where you say something like let chart = new Chart(document.getElementById('chart'), { ...
Without code I can’t help you more for now.
- Chartjs-Save data from REST API Get method and use it one more time
- Chartjs-React js Unhandled Rejection (TypeError): t[l].data.map is not a function
Source:stackexchange.com