diff --git a/packages/layerchart/src/lib/components/Labels.svelte b/packages/layerchart/src/lib/components/Labels.svelte index f034445b4..3f4b5be5c 100644 --- a/packages/layerchart/src/lib/components/Labels.svelte +++ b/packages/layerchart/src/lib/components/Labels.svelte @@ -140,7 +140,8 @@ - {#each $flatData as d, i (getLabelText(d))} + + {#each $flatData as d} {@const value = getValue(d)} {@const position = getPosition(d)} {@const textProps = getTextProps(d)}