From 5eb46dc64983edf1a55101f6973addebeefb600e Mon Sep 17 00:00:00 2001 From: Dennis <45356478+DennisMoschina@users.noreply.github.com> Date: Thu, 14 Nov 2024 19:19:34 +0100 Subject: [PATCH] updated styling --- open_earable/web/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/open_earable/web/index.html b/open_earable/web/index.html index 4ffc103..df89cb7 100644 --- a/open_earable/web/index.html +++ b/open_earable/web/index.html @@ -51,12 +51,16 @@ var labels = JSON.parse(labelsString); var datasets = JSON.parse(datasetsString); - + if (!datasets || !labels) { console.error('Datasets or labels are null'); return; } + datasets.forEach(dataset => { + dataset.pointStyle =false; + }); + if (canvas.chartInitialized === true) { console.log('Updating existing chart'); // Update the existing chart