Home forums Using CanvasJS How can I plot values from .txt file ? Reply To: How can I plot values from .txt file ?

#14937

Suyash Singh
Moderator

@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