Adjust pressure chart labels
This commit is contained in:
+2
-3
@@ -737,7 +737,6 @@ function MultiLineChart({title, measurement, dataKey, sensors, colors, end, dura
|
||||
separator=': '
|
||||
/>
|
||||
<ReferenceLine x={moment().tz('America/Edmonton').startOf('day').toISOString().replace('.000', '')} stroke='blue' />
|
||||
<Legend />
|
||||
{sensors.map((sensor, i) => (
|
||||
<Line
|
||||
key={sensor}
|
||||
@@ -877,14 +876,14 @@ function Graphs({end, duration}) {
|
||||
<Lux name='Bedroom Lux' sensorName='Bedroom' end={end} duration={duration} />
|
||||
<Lux name='Laundry Room Lux' sensorName='Laundry Room' end={end} duration={duration} />
|
||||
<MultiLineChart
|
||||
title='Pressure'
|
||||
title='Absolute Pressure'
|
||||
measurement='hpa'
|
||||
dataKey='hpa'
|
||||
sensors={['Kitchen', 'Bedroom', 'Laundry Room']}
|
||||
colors={['black', 'red', 'blue']}
|
||||
end={end}
|
||||
duration={duration}
|
||||
yDomain={[850, 915]}
|
||||
yDomain={[870, 915]}
|
||||
unitKey='Hpa'
|
||||
/>
|
||||
<WH51Soil name='Side Garden Soil Moisture' sensorName='Side Garden' end={end} duration={duration} />
|
||||
|
||||
Reference in New Issue
Block a user