diff --git a/AppImage/components/node-metrics-charts.tsx b/AppImage/components/node-metrics-charts.tsx index 50ef507..8b334a4 100644 --- a/AppImage/components/node-metrics-charts.tsx +++ b/AppImage/components/node-metrics-charts.tsx @@ -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)]} />