[Chartjs]-Update Chartjs Chart datasets inside a Vuejs

1👍

You are getting the dom element. This won’t work. You need to get the chart instance. So instead of

let myChart6 = document.getElementById("myChart6");

You need to use:

let myChart6 = Chart.getChart("myChart6");

Leave a comment