Wick Charts
import { BarSeries } from '@wick-charts/react';
 
<BarSeries data={data} />

Renders bar/column layers. Supports stacked, percent-stacked, and overlapping modes via options.stacking. Bar width is computed from the data interval; tweak options.barWidthRatio if your bars look too tight or too sparse.

Renders bar/column layers. Supports stacked, percent-stacked, and overlapping modes via options.stacking. Bar width is computed from the data interval; tweak options.barWidthRatio if your bars look too tight or too sparse.

Props

dataTimePoint[][]

Array of datasets — one per layer. A single-layer bar chart uses [data].

timenumber

Unix milliseconds.

valuenumber

Y-axis value at this point. Drives the line height / bar height.

options?Partial<BarSeriesOptions>

Visual options override — colours per layer, bar-width ratio, stacking, entrance animation, smoothing.

id?string

Stable series ID — same value across remounts.