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

View File

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

View File

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

View File

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