Review polar plot scaling, make tabbing dependent on config

- remove polar min data
This commit is contained in:
Christoph Kluge
2026-01-16 14:14:41 +01:00
parent b81d9b05ac
commit b912be5978
4 changed files with 57 additions and 36 deletions

View File

@@ -127,7 +127,7 @@
}
</script>
<CardBody>
<CardBody class="overflow-auto">
{#if jobFootprintData.length === 0}
<div class="text-center">No footprint data for job available.</div>
{:else}

View File

@@ -3,6 +3,7 @@
Properties:
- `job Object`: The GQL job object
- `showLegend Bool?`: Polar Legend Display
-->
<script>
@@ -22,7 +23,8 @@
/* Svelte 5 Props */
let {
job
job,
showLegend
} = $props();
/* Const Init */
@@ -47,8 +49,8 @@
jobStats(id: $dbid, metrics: $selectedMetrics) {
name
data {
min
avg
## min
max
}
}
@@ -63,7 +65,7 @@
}));
</script>
<CardBody>
<CardBody class="py-0 overflow-hidden">
{#if $polarData.fetching}
<Spinner />
{:else if $polarData.error}
@@ -71,6 +73,7 @@
{:else}
<Polar
{polarMetrics}
{showLegend}
polarData={$polarData.data.jobStats}
/>
{/if}