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