sveltekit-jui icon indicating copy to clipboard operation
sveltekit-jui copied to clipboard

Bar chart is broken

Open Wolfr opened this issue 3 years ago • 1 comments

CleanShot 2022-08-21 at 18 53 07@2x

Wolfr avatar Aug 21 '22 16:08 Wolfr

Type issue. Use number or transform them from the data object.

<LayerCake
  yDomain={data.map(item => item.year)}
/>

https://github.com/Wolfr/sveltekit-jui/blob/main/src/lib/jui-components/BarChart.svelte#L61

yuanchuan avatar Mar 16 '23 12:03 yuanchuan