Update node-metrics-charts.tsx

This commit is contained in:
MacRimi
2025-10-23 11:00:36 +02:00
parent 01de338a65
commit c542cd4d7d

View File

@@ -290,7 +290,7 @@ export function NodeMetricsCharts() {
className="text-foreground"
tick={{ fill: "currentColor", fontSize: 12 }}
label={{ value: "Load", angle: 90, position: "insideRight", fill: "currentColor" }}
domain={[0, "dataMax"]}
domain={[0, (dataMax: number) => Math.max(dataMax, 1)]}
/>
<Tooltip
contentStyle={{