@kingbub,
It would be better if you create the chart once, update the dataPoints and render it again on every update.
Also you can use setInterval to update the chart after a fixed interval.
Please check the uploaded zip file.
___
Suyash Singh
Team CanvasJS