Graph styling tweaks
This commit is contained in:
parent
6e867a0fae
commit
9856496b5c
|
|
@ -326,6 +326,9 @@ function createSensor(sensor) {
|
||||||
...(sensor.config.graphType === 'bar' && { type: 'bar' }),
|
...(sensor.config.graphType === 'bar' && { type: 'bar' }),
|
||||||
x: values.map((v) => new Date(v.timestamp * 1000)),
|
x: values.map((v) => new Date(v.timestamp * 1000)),
|
||||||
y: values.map((v) => v.value),
|
y: values.map((v) => v.value),
|
||||||
|
line: {
|
||||||
|
width: 1
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue