job view layout fixes, fix polar plot axis scales

This commit is contained in:
Christoph Kluge 2023-09-05 15:15:09 +02:00
parent 827a85412e
commit bd6f38b4f3
2 changed files with 9 additions and 5 deletions

View File

@ -272,8 +272,7 @@
<Col /> <Col />
{/if} {/if}
</Row> </Row>
<br /> <Row class="mb-3">
<Row>
<Col xs="auto"> <Col xs="auto">
{#if $initq.data} {#if $initq.data}
<TagManagement job={$initq.data.job} bind:jobTags /> <TagManagement job={$initq.data.job} bind:jobTags />
@ -290,7 +289,6 @@
<Zoom timeseriesPlots={plots} /> <Zoom timeseriesPlots={plots} />
</Col> --> </Col> -->
</Row> </Row>
<br />
<Row> <Row>
<Col> <Col>
{#if $jobMetrics.error} {#if $jobMetrics.error}

View File

@ -25,7 +25,7 @@
export let metrics export let metrics
export let cluster export let cluster
export let jobMetrics export let jobMetrics
export let height = 350 export let height = 365
const metricConfig = getContext('metrics') const metricConfig = getContext('metrics')
@ -89,7 +89,13 @@
// No custom defined options but keep for clarity // No custom defined options but keep for clarity
const options = { const options = {
maintainAspectRatio: false, maintainAspectRatio: false,
animation: false animation: false,
scales: { // fix scale
r: {
suggestedMin: 0.0,
suggestedMax: 1.0
}
}
} }
</script> </script>