Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Bump Chart

Preview

The leaderboard

Five products. Six months. Every move.

Illustrative product rankings, April to SeptemberRanks run from best at the top to lowest at the bottom. Use the legend to highlight or pin a series. Exact values follow in a table.AprMayJunJulAugSepStudioStudioCanvasCanvasLayersLayersOrbitOrbitFrameFrame
Illustrative product rankings, April to September: exact ranks
SeriesAprMayJunJulAugSep
Studio432321
Canvas113212
Layers321133
Orbit245454
Frame554545

Inspect a dot for details · Select to pin a product

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

bunx --bun shadcn-vue@latest add @beui-vue/bump-chart

Import the shared styles once in your application.

TSUsage
import BumpChart from '@/components/beui/charts/BumpChart.vue'
import '@/components/beui/styles.css'

API Reference

BumpChart

series
readonly BumpChartSeries[]
Default—
periods
readonly string[]

Unique period labels in display order.

Default—
v-model:active?
string | null

Pinned series id.

Default—
defaultActive?
string | null
Default—
label?
string
Default—
labels?
Partial<BumpChartMessages>

Override any built-in string.

Default—
class?
string
Default—
@active-change?
(value: string | null) => void
Default—
#default?
slot

Compose `BumpChartPlot` and `BumpChartLegend`; omit it for the complete chart.

Default—

BumpChartLegend

class?
string
Default—

BumpChartPlot

class?
string
Default—

Updated