The API for chart.js allows one to edit points of the datasets loaded into it, for example:
.update( ) Calling update() on
.update( )
Calling update() on
You need to destroy:
myLineChart.destroy();
Then re-initialize the chart:
var ctx = document.getElementById("myChartLine").getContext("2d"); myLineChart = new Chart(ctx).Line(data, options);