hotfix to adjust the graphs clamp on the yAxis
This commit is contained in:
parent
f7b5a59c98
commit
239e69cfcb
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ export default function GateDeltaTempGraph(props: Props){
|
||||||
/>
|
/>
|
||||||
<SingleSetAreaChart
|
<SingleSetAreaChart
|
||||||
data={data}
|
data={data}
|
||||||
minY={-40} //-40C is the same as -40F
|
minY={(user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? -4 : -20)}
|
||||||
maxY={(user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? 104 : 40)}
|
maxY={(user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? 68 : 20)}
|
||||||
tooltipLabel="Delta Temp"
|
tooltipLabel="Delta Temp"
|
||||||
tooltipUnit={user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? " °F" : " °C"}
|
tooltipUnit={user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? " °F" : " °C"}
|
||||||
yAxisLabel={"Delta T" + (user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? " °F" : " °C")}
|
yAxisLabel={"Delta T" + (user.tempUnit() === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT ? " °F" : " °C")}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue