From 013ff4cffa975926271734e66d18ba29f20762dd Mon Sep 17 00:00:00 2001 From: Dano van den Bosch Date: Sat, 23 Mar 2024 11:46:18 +0100 Subject: [PATCH] Set up for making the class for the graph page --- web/graphClass.js | 12 ++++++++++++ web/graphPage.js | 0 2 files changed, 12 insertions(+) create mode 100644 web/graphClass.js create mode 100644 web/graphPage.js diff --git a/web/graphClass.js b/web/graphClass.js new file mode 100644 index 0000000..6f02efd --- /dev/null +++ b/web/graphClass.js @@ -0,0 +1,12 @@ +class graphClass { + constructor(dataArray) { + this.dataArray = dataArray; + } + + createGraph() { + // make the graphs + liveGraphs.forEach((graph) => { + graph.makeGraph(); + }); + } +} diff --git a/web/graphPage.js b/web/graphPage.js new file mode 100644 index 0000000..e69de29