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=': '
|
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} />
|
||||||
|
|||||||
Reference in New Issue
Block a user