Home forums Using CanvasJS Help with Dynamic chart, please !!! Reply To: Help with Dynamic chart, please !!!

#10556

Sanjoy
Moderator

If you want to update on Click of button instead of setInterval you can use

document.getElementById("updateButtonId").onclick = function(){ updateChart(5); }