import { CandlestickSeries } from '@wick-charts/react'; <CandlestickSeries data={data} />Renders OHLC candles with optional volume bars. The default body colour is direction-driven (up/down) but accepts a bodyColor callback for custom rules. Wicks render at sub-pixel widths on hi-DPI displays for a sharp look at any zoom.
Renders OHLC candles with optional volume bars. The default body colour is direction-driven (up/down) but accepts a bodyColor callback for custom rules. Wicks render at sub-pixel widths on hi-DPI displays for a sharp look at any zoom.
OHLC candles to render. Each element carries time/open/high/low/close and an optional volume.
Unix milliseconds.
Price at the start of the candle interval.
Highest price reached during the interval. Drives the upper wick.
Lowest price reached during the interval. Drives the lower wick.
Price at the end of the interval. The body is drawn between open and close; close > open paints the up colour, otherwise the down colour.
Trade volume for the interval. When present on any candle, the chart adds a volume pane below the price pane; omit it across the whole series to hide that pane.
Visual options override — colours, body width, entrance animation, smoothing. Merged onto theme defaults.
Stable series ID — same value across remounts.