yippee het werkt

This commit is contained in:
sietse jonker
2024-04-01 16:09:17 +02:00
parent 44b1f6b33d
commit a53ecb1c96
2 changed files with 21 additions and 9 deletions

View File

@@ -139,6 +139,12 @@ class DataProcessor {
}
updateGraph() {
this.graph.timeArray = [];
this.graph.tempArray = [];
this.graph.humiArray = [];
this.graph.eco2Array = [];
this.graph.tvocArray = [];
for (let i = 0; i < this.data.length; i++) {
if (i % 4 == 0){
this.graph.timeArray.push(this.data[i].TimeStamp);