diff --git a/charts.html b/charts.html index a6f9f12..314ed48 100644 --- a/charts.html +++ b/charts.html @@ -120,6 +120,7 @@ chart.data.datasets[0].data.push({x: snapshot.time, y: snapshot.humidity}); chart.data.datasets[1].data.push({x: snapshot.time, y: snapshot.temp}); chart.data.datasets[2].data.push({x: snapshot.time, y: snapshot.co2}); + chart.update(); }, 10 * 1000); }