From 4db89e977375d452cc984f9bae4995a880ba8b1d Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 29 Mar 2026 11:38:45 +0300 Subject: [PATCH] =?UTF-8?q?fix(metrics):=20correct=20chart=20padding=20ord?= =?UTF-8?q?er=20=E2=80=94=20right=3D80=20not=20top=3D80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- audit/internal/webui/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audit/internal/webui/server.go b/audit/internal/webui/server.go index 3bd9d67..5c94cbc 100644 --- a/audit/internal/webui/server.go +++ b/audit/internal/webui/server.go @@ -653,7 +653,7 @@ func renderChartSVG(title string, datasets [][]float64, names []string, labels [ opt.Legend = gocharts.LegendOption{SeriesNames: names} opt.Symbol = gocharts.SymbolNone // Right padding: reserve space for the MarkLine label (library recommendation). - opt.Padding = gocharts.NewBox(20, 80, 20, 20) + opt.Padding = gocharts.NewBox(20, 20, 80, 20) if yMin != nil || yMax != nil { opt.YAxis = []gocharts.YAxisOption{{ Min: yMin,