I\'m using Chartjs to display a Line Chart and this works fine:
// get line chart canvas var targetCanvas = document.getElementById(\'chartCanvas\').getConte
We can update the chart data in Chart.js V2.0 as follows:
var myChart = new Chart(ctx, data); myChart.config.data = new_data; myChart.update();