Chart.js - Unable to refresh the page
Solution 1:
You define 2 myChart. So your first declaration stay empty ;) Re-assign your variable, don't make a new who stay in your init function scope.
function init(){
myChart = new Chart(ctx, {
...
});
}