I\'m using Chartjs to display a Line Chart and this works fine:
// get line chart canvas var targetCanvas = document.getElementById(\'chartCanvas\').getConte
What we did is, before initialization of new chart, remove/destroy the previews Chart instance, if exist already, then create a new chart, for example
if(myGraf != undefined) myGraf.destroy(); myGraf= new Chart(document.getElementById("CanvasID"), { ... }
Hope this helps.