1
0
mirror of https://github.com/ClusterCockpit/cc-backend synced 2025-04-07 20:55:55 +02:00

add canvasId default, fix analysis view pie props

This commit is contained in:
Christoph Kluge 2025-02-05 12:51:06 +01:00
parent 6c244f3121
commit 42b9de8360
3 changed files with 3 additions and 3 deletions
web/frontend/src

@ -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;