From 2655bda64416431b7ce05b36553d9685ab85f21b Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Mon, 24 Jul 2023 11:12:22 +0200 Subject: [PATCH] feat: enable uplot XY-Zoom for metrics - Disable jobView manual zoom --- web/frontend/src/Job.root.svelte | 4 ++-- web/frontend/src/plots/MetricPlot.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte index 2ec1ade..6f78196 100644 --- a/web/frontend/src/Job.root.svelte +++ b/web/frontend/src/Job.root.svelte @@ -279,9 +279,9 @@ {/if} - +
diff --git a/web/frontend/src/plots/MetricPlot.svelte b/web/frontend/src/plots/MetricPlot.svelte index c0440fd..6b45c70 100644 --- a/web/frontend/src/plots/MetricPlot.svelte +++ b/web/frontend/src/plots/MetricPlot.svelte @@ -177,7 +177,7 @@ x: { time: false }, y: maxY ? { range: [0., maxY * 1.1] } : {} }, - cursor: { show: false }, + cursor: { drag: { x: true, y: true } }, legend: { show: false, live: false } }