Graph styling tweaks

This commit is contained in:
Jan Zípek 2022-08-14 13:45:22 +02:00
parent 6e867a0fae
commit 9856496b5c
Signed by: kamen
GPG Key ID: A17882625B33AC31
1 changed files with 3 additions and 0 deletions

View File

@ -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
}
},
],
{