Line chart
Trends over time for one to four series, with gaps for missing data and marked forecasts.
OHLC prices with volume in its own panel and malformed rows rejected.
<CandlestickChart />Candlestick chart is a Pro chart.
Installation is part of Pro
The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.
Unlock with Pronpx chartslibraryui add candlestick-chart --from ./chartslibraryui-proUsage examples are part of Pro
Every example on this page comes with its code in the Pro download. The props and data shape below are public.
Unlock with ProRows with an x key and open, high, low, close (and optional volume) keys.
[{ date: "2026-03-02", open: 142.1, high: 144.0, low: 141.2, close: 143.5, volume: 1.8e6 }]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface CandlestickChartProps extends FrameProps {
data: Row[];
/** Key of the period label (date). */
x: string;
open?: string;
high?: string;
low?: string;
close?: string;
/** Optional volume key; drawn in a separate panel below. */
volume?: string;
format?: FormatInput;
volumeFormat?: FormatInput;
/** Colours for rising / falling periods. Default: favorable green / unfavorable red. */
upColor?: string;
downColor?: string;
}Trends over time for one to four series, with gaps for missing data and marked forecasts.
Median, quartiles, whiskers and every outlier per group, with n printed.