From 9856496b5c866452791c25cfbb992ee9e49be264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Z=C3=ADpek?= Date: Sun, 14 Aug 2022 13:45:22 +0200 Subject: [PATCH] Graph styling tweaks --- client/js/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/js/index.js b/client/js/index.js index 2091645..c3a5c53 100644 --- a/client/js/index.js +++ b/client/js/index.js @@ -326,6 +326,9 @@ function createSensor(sensor) { ...(sensor.config.graphType === 'bar' && { type: 'bar' }), x: values.map((v) => new Date(v.timestamp * 1000)), y: values.map((v) => v.value), + line: { + width: 1 + } }, ], {