mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
make sure temp chart starts at 0 degrees
This commit is contained in:
@@ -78,6 +78,7 @@ export default function TemperatureChart({
|
||||
<CartesianGrid vertical={false} />
|
||||
<YAxis
|
||||
className="tracking-tighter"
|
||||
domain={[0, 'auto']}
|
||||
width={yAxisWidth}
|
||||
tickFormatter={(value) => {
|
||||
const val = toFixedWithoutTrailingZeros(value, 2)
|
||||
|
Reference in New Issue
Block a user