From bd6f38b4f374a2c4face165128f7d2d307de0ece Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Tue, 5 Sep 2023 15:15:09 +0200 Subject: [PATCH] job view layout fixes, fix polar plot axis scales --- web/frontend/src/Job.root.svelte | 4 +--- web/frontend/src/plots/Polar.svelte | 10 ++++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte index e2bba63..f7a7c62 100644 --- a/web/frontend/src/Job.root.svelte +++ b/web/frontend/src/Job.root.svelte @@ -272,8 +272,7 @@ {/if} -
- + {#if $initq.data} @@ -290,7 +289,6 @@ --> -
{#if $jobMetrics.error} diff --git a/web/frontend/src/plots/Polar.svelte b/web/frontend/src/plots/Polar.svelte index 3aeb74d..59f89f3 100644 --- a/web/frontend/src/plots/Polar.svelte +++ b/web/frontend/src/plots/Polar.svelte @@ -25,7 +25,7 @@ export let metrics export let cluster export let jobMetrics - export let height = 350 + export let height = 365 const metricConfig = getContext('metrics') @@ -89,7 +89,13 @@ // No custom defined options but keep for clarity const options = { maintainAspectRatio: false, - animation: false + animation: false, + scales: { // fix scale + r: { + suggestedMin: 0.0, + suggestedMax: 1.0 + } + } }