mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-04-01 18:15:54 +02:00
add canvasId default, fix analysis view pie props
This commit is contained in:
parent
6c244f3121
commit
42b9de8360
@ -386,7 +386,7 @@
|
||||
<Card body color="danger">{$topQuery.error.message}</Card>
|
||||
{:else}
|
||||
<Pie
|
||||
type={groupSelection.key}
|
||||
canvasId={`pie-${groupSelection.key}`}
|
||||
size={colWidth1}
|
||||
sliceLabel={sortSelection.label}
|
||||
quantities={$topQuery.data.topList.map(
|
||||
|
@ -34,7 +34,7 @@
|
||||
import Chart from 'chart.js/auto'
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
export let canvasId
|
||||
export let canvasId = "pie-default"
|
||||
export let size
|
||||
export let sliceLabel
|
||||
export let quantities
|
||||
|
@ -14,7 +14,7 @@
|
||||
import { getContext, onMount } from 'svelte'
|
||||
import Chart from 'chart.js/auto'
|
||||
|
||||
export let canvasId;
|
||||
export let canvasId = "polar-default";
|
||||
export let footprintData = null;
|
||||
export let metrics = null;
|
||||
export let cluster = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user