From 6fe93ecb7eb47b6f8f8c52d4073decebeddefd5e Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Tue, 1 Oct 2024 11:42:46 +0200 Subject: [PATCH] fix adaptive legend title --- web/frontend/src/generic/plots/MetricPlot.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/frontend/src/generic/plots/MetricPlot.svelte b/web/frontend/src/generic/plots/MetricPlot.svelte index 1c09150..7950b04 100644 --- a/web/frontend/src/generic/plots/MetricPlot.svelte +++ b/web/frontend/src/generic/plots/MetricPlot.svelte @@ -355,7 +355,7 @@ stroke: "green", }); plotSeries.push({ - label: "median", + label: usesMeanStatsSeries ? "mean" : "median", scale: "y", width: lineWidth, stroke: "black",