When chart is initialized it creates an instance of an chart in an canvas.
if it it gets new data the chart does get the new data but doesnt update the canvas beacause it doesnt get the command to update the view.
the command itself is chart.update()
code link chart.js.