diff --git a/client/src/App.js b/client/src/App.js index 52e7ef8..e7bb01a 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -158,10 +158,12 @@ function SolarPower({end, duration}) { domain={[0, 10]} orientation='right' hide={true} + width={35} /> @@ -220,11 +222,13 @@ function Temperature({name, sensorName, end, duration, yDomain, showHumidity, sh domain={[0, 100]} orientation='right' hide={true} + width={35} /> } @@ -363,9 +369,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} /> @@ -422,9 +430,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} /> @@ -477,6 +487,7 @@ function LivingRoomDust({end, duration}) { /> @@ -610,6 +624,7 @@ function BedroomSleep({end, duration}) { /> @@ -752,7 +768,7 @@ function MultiLineChart({title, measurement, dataKey, sensors, colors, end, dura loading={loading} > - + v.toFixed(1) + (units[unitKey] || '')} @@ -797,6 +813,7 @@ function Soil({name, sensorName, end, duration}) { @@ -843,6 +860,7 @@ function WH51Soil({name, sensorName, end, duration}) {