From 2ff5837e8788e41e1609ca1dded53e713ef2fe21 Mon Sep 17 00:00:00 2001 From: Tanner Date: Wed, 26 Aug 2026 16:49:37 +0000 Subject: [PATCH] style: increase YAxis width and adjust pressure domain in graphs --- client/src/App.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/client/src/App.js b/client/src/App.js index 20da422..69d8ff4 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -157,7 +157,7 @@ function SolarPower({end, duration}) { tick === 0 ? 0 : (tick / 1000) + 'k'} /> @@ -208,13 +208,13 @@ function Temperature({name, sensorName, end, duration, yDomain, showHumidity, sh domain={[0, 100]} orientation='right' hide={true} - width={35} + width={40} /> } @@ -355,11 +355,11 @@ function Gas({end, duration}) { domain={data.length ? [data[0].consumption_data, data.slice(-1)[0].consumption_data] : [100, 0]} orientation='right' hide={true} - width={35} + width={40} /> @@ -416,11 +416,11 @@ function Water({end, duration}) { domain={data.length ? [data[0].consumption_data, data.slice(-1)[0].consumption_data] : [100, 0]} orientation='right' hide={true} - width={35} + width={40} /> @@ -473,7 +473,7 @@ function LivingRoomDust({end, duration}) { /> @@ -610,7 +610,7 @@ function BedroomSleep({end, duration}) { /> @@ -758,7 +758,7 @@ function MultiLineChart({title, measurement, dataKey, sensors, colors, end, dura loading={loading} > - + v.toFixed(1) + (units[unitKey] || '')} @@ -803,7 +803,7 @@ function Soil({name, sensorName, end, duration}) { @@ -850,7 +850,7 @@ function WH51Soil({name, sensorName, end, duration}) { @@ -916,7 +916,7 @@ function Graphs({end, duration}) { colors={['black', 'red', 'blue']} end={end} duration={duration} - yDomain={[87, 91.5]} + yDomain={[87, 91]} unitKey='kPa' transform={v => v / 10} />