From 64d471bb9be057d0a2f5bf6cf7dd0e14eaa41f2d Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 20 Oct 2025 17:30:39 +0200 Subject: [PATCH] Update metrics-dialog.tsx --- AppImage/components/metrics-dialog.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AppImage/components/metrics-dialog.tsx b/AppImage/components/metrics-dialog.tsx index 53df81b..5975186 100644 --- a/AppImage/components/metrics-dialog.tsx +++ b/AppImage/components/metrics-dialog.tsx @@ -179,6 +179,7 @@ export function MetricsView({ vmid, vmName, vmType, metricType, onBack }: Metric tick={{ fill: "currentColor" }} label={{ value: "%", angle: -90, position: "insideLeft", fill: "currentColor" }} className="text-foreground" + domain={[0, (dataMax: number) => Math.ceil(dataMax * 1.15)]} /> Math.ceil(dataMax * 1.15)]} /> Math.ceil(dataMax * 1.15)]} /> Math.ceil(dataMax * 1.15)]} />