Composition Chart
Preview
Sep 5100%
Aug 1Sep 5
Sep 5100%
Aug 1Sep 5
Install
Add it with your package manager, or copy the source manually.
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
TSUsage
API Reference
CompositionChart
seriesreadonly CompositionSeries[]Default
—periodsreadonly string[]Unique period labels in display order.
Default
—view?"bar" | "area"Default
—v-model:period?stringInspected period.
Default
—defaultPeriod?stringDefault
—formatValue?(value: number) => stringDefault
—label?stringDefault
—labels?Partial<CompositionChartMessages>Override any built-in string.
Default
—class?stringDefault
—@period-change?(period: string) => voidDefault
—#default?slotCompose `CompositionChartPlot` and `CompositionChartLegend`; omit it for the complete chart.
Default
—CompositionChartLegend
class?stringDefault
—CompositionChartPlot
class?stringDefault
—Updated