Set up for making the class for the graph page
This commit is contained in:
12
web/graphClass.js
Normal file
12
web/graphClass.js
Normal 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
0
web/graphPage.js
Normal file
Reference in New Issue
Block a user