Chartjs-Chart.js line chart update once every 5 seconds?

0👍

one way to reload your csv file is to play with setInterval:

var timer = setInterval(function(){ makeChart;}, 60000);//execute makeChart every min

then you reload your widget (i dont see how data arrives in the widget)

if you need to stop the loop, use:

clearInterval(timer);//stops the loop

    Leave a comment