Adjust pressure chart labels

This commit is contained in:
Tanner
2026-08-25 19:07:49 +00:00
parent 1931b48c68
commit d1d6812863
+2 -3
View File
@@ -737,7 +737,6 @@ function MultiLineChart({title, measurement, dataKey, sensors, colors, end, dura
separator=': ' separator=': '
/> />
<ReferenceLine x={moment().tz('America/Edmonton').startOf('day').toISOString().replace('.000', '')} stroke='blue' /> <ReferenceLine x={moment().tz('America/Edmonton').startOf('day').toISOString().replace('.000', '')} stroke='blue' />
<Legend />
{sensors.map((sensor, i) => ( {sensors.map((sensor, i) => (
<Line <Line
key={sensor} key={sensor}
@@ -877,14 +876,14 @@ function Graphs({end, duration}) {
<Lux name='Bedroom Lux' sensorName='Bedroom' end={end} duration={duration} /> <Lux name='Bedroom Lux' sensorName='Bedroom' end={end} duration={duration} />
<Lux name='Laundry Room Lux' sensorName='Laundry Room' end={end} duration={duration} /> <Lux name='Laundry Room Lux' sensorName='Laundry Room' end={end} duration={duration} />
<MultiLineChart <MultiLineChart
title='Pressure' title='Absolute Pressure'
measurement='hpa' measurement='hpa'
dataKey='hpa' dataKey='hpa'
sensors={['Kitchen', 'Bedroom', 'Laundry Room']} sensors={['Kitchen', 'Bedroom', 'Laundry Room']}
colors={['black', 'red', 'blue']} colors={['black', 'red', 'blue']}
end={end} end={end}
duration={duration} duration={duration}
yDomain={[850, 915]} yDomain={[870, 915]}
unitKey='Hpa' unitKey='Hpa'
/> />
<WH51Soil name='Side Garden Soil Moisture' sensorName='Side Garden' end={end} duration={duration} /> <WH51Soil name='Side Garden Soil Moisture' sensorName='Side Garden' end={end} duration={duration} />