Set up for making the class for the graph page

This commit is contained in:
Dano van den Bosch
2024-03-23 11:46:18 +01:00
parent e5d2f23d59
commit 013ff4cffa
2 changed files with 12 additions and 0 deletions

12
web/graphClass.js Normal file
View File

@@ -0,0 +1,12 @@
class graphClass {
constructor(dataArray) {
this.dataArray = dataArray;
}
createGraph() {
// make the graphs
liveGraphs.forEach((graph) => {
graph.makeGraph();
});
}
}

0
web/graphPage.js Normal file
View File