Candlestick and boxplot

Candlestick charts show how a price opened, closed and ranged each period, and boxplots summarize how a set of values spreads.

LLMs

Candlestick

A candlestick series reads open, close, low and high for each day, painting rising days and falling days apart.

Boxplot

A boxplot dataset transform turns raw measurements into quartiles and a second result of outliers drawn as scatter.

Horizontal boxplot

The same boxplot transform laid out along a category yAxis, with itemNameFormatter as a function that names each run.

Midday break

An axis breaks entry removes the lunch hours from a single trading day, labeled once with the break's start and end.

Grouped boxplots

Three boxplot series side by side in each category, each fed by its own transformed dataset, with dataZoom to scroll.

OHLC bars

A custom series with a renderItem function draws open and close ticks on a high-low line, over twelve years of daily data.

Marks and averages

A candlestick series with markPoint for the high, low and average, markLine from low to high, and moving averages.

Brush to zoom

A year of daily candles with four moving average lines and a slider dataZoom whose brushSelect lets you drag a range.

Market hours only

A time axis with breaks that skip each overnight close, so four trading days of minute data sit next to each other.

Linked volume

Candles and volume in two grids share one axisPointer with a drag handle, and moving average values follow the pointer.

Brush selection

A brush linked across price and volume grids fades the days outside the selection, starting with a range already selected.

200,000 bars

A candlestick series over a dataset of 200,000 minutes, with volume bars colored up or down by a piecewise visualMap.

Aggregated boxplot

A filter and a sort dataset transform around per-country quartiles draw a boxplot of income, with yearly points beside.