Series types
All 26 series types of Unifin Charts - what each one draws, a code sample and a screenshot for every type.
This page lists every series type with a frame and the identifier you pass to the renderer. A type is a single option: you can switch it without touching scales, panes or drawings.
import { Canvas2DRenderer } from '@unifin/chart-core';
renderer.render(context, {
// frame: bars, scales, theme, sizes
seriesType: 'candles',
});The same identifier is accepted by the React prop, the custom element attribute and the render input:
| Host | How to set it |
|---|---|
| Core renderer | RenderInput.seriesType |
| React | <UnifinChart seriesType="candles" /> |
| Custom element | series-type="candles" |
Type catalogue
| Type | Identifier | Best for |
|---|---|---|
| Candles | candles | Default price chart |
| Outline candles | outlineCandles | Dense screens, lighter ink |
| Bars | bars | Classic OHLC columns |
| Line | line | Closing prices, clean trends |
| Area | area | Trend with a sense of magnitude |
| Histogram | histogram | Volumes, seasonality, distributions |
| Step | step | Settlement prices, reference curves |
| Baseline | baseline | Above and below a reference level |
| Footprint | footprint | Volume clusters inside each bar |
| Renko | renko | Noise-filtered bricks |
| Kagi | kagi | Demand and supply shifts |
| Point and figure | pointAndFigure | X and O breakout columns |
| Line break | lineBreak | Three-line break reversals |
| Volume candles | volumeCandles | Price and liquidity in one column |
| Line with markers | lineWithMarkers | Sparse series with explicit points |
| HLC area | hlcArea | Full range with a readable close |
| HLC glow | hlcGlow | Full range with gradient shading |
| High-low | highLow | Dense range strips |
| HLC bars | hlcBars | Index series without an open |
| Columns | columns | Open-to-close bodies, dense dashboards |
| Range columns | rangeCandles | Range bars with their true height |
| Heikin-Ashi glow | heikinAshiGlow | Smoothed candles with a richer body |
| Delta candles | deltaCandles | Body tone from order flow |
| Adaptive detail | adaptive | One type for every zoom level |
| Spline | spline | Smooth curves that stay inside the data |
| Lollipop | lollipop | Events: dividends, reports, corporate actions |
Live type explorer
Pick a type: the chart streams the same engine the frames below come from, so a type can be judged live before reading its block.
Candles
The default view: a body between open and close, wicks for the extremes, colors from the theme tokens.

seriesType: 'candles';Outline candles
The same geometry as candles with hollow bodies - lighter on dense screens and in multi-chart layouts.

seriesType: 'outlineCandles';Bars
OHLC columns for readers who take open and close from the side ticks.

seriesType: 'bars';Line
A single polyline over closing prices - the fastest way to read a trend.

seriesType: 'line';Area
A line with a filled area underneath, useful when the volume pane is not on screen but magnitude matters.

seriesType: 'area';Histogram
Vertical columns from the baseline; the usual choice for volume panes and distribution studies.

seriesType: 'histogram';Step
A piecewise-constant line: the value holds until the next one arrives. Common for settlement prices and reference rates.

seriesType: 'step';Baseline
Two zones split by a base level; values above and below it are colored differently.

seriesType: 'baseline';Footprint
Per-price volume clusters inside each bar with point of control, imbalance and absorption cues. The host supplies the per-price data; a narrow bar degrades to a compact delta block.

seriesType: 'footprint';Renko
Bricks of a fixed price size with time ignored: only moves that clear the brick threshold open a new brick. The brick size follows the instrument tick grid unless you pass your own.

seriesType: 'renko';Kagi
A single line whose thickness follows the prevailing direction; the line turns when the price reverses past the reversal threshold.

seriesType: 'kagi';Point and figure
Columns of X and O built by price movement with a configurable reversal distance.

seriesType: 'pointAndFigure';Line break
Three-line break: a reversal column appears only after a strong enough close in the opposite direction.

seriesType: 'lineBreak';Volume candles
The body alpha follows a rolling volume average, so quiet bars fade and the busiest bar paints at full strength. Price and liquidity in one column - handy when the volume pane is not on screen.

seriesType: 'volumeCandles';Line with markers
A closing-price polyline with a dot on every bar. Data gaps restart the line; when the bar slot gets narrow the markers hide and the line stays.

seriesType: 'lineWithMarkers';HLC area
A ribbon between high and low with the close drawn on top: the band shows the range of every bar while the line keeps the close readable.

seriesType: 'hlcArea';HLC glow
The showcase sibling of the HLC area: the corridor between high and low is filled with a vertical gradient, the area under the close line carries a soft glow, and the close stroke fades towards the oldest bars. On a canvas without gradient support it degrades to the flat HLC area fill.

seriesType: 'hlcGlow';High-low
One thin vertical segment per bar from high to low in the text color - the volume-profile look for dense daily and intraday strips.

seriesType: 'highLow';HLC bars
A high-low stem with a single closing tick on the right. Index series often publish only high, low and close, so the opening tick of the bars type would be noise.

seriesType: 'hlcBars';Columns
A filled open-to-close column without wicks. It sits between candles (wick plus body) and histogram (one value from a baseline) and reads well in dense dashboards.

seriesType: 'columns';Range columns
Range bars already carry a fixed range, so the column height is that range - a row of equal bricks instead of a borrowed candle look.

seriesType: 'rangeCandles';Heikin-Ashi glow
The smoothed Heikin-Ashi candle with a gradient body and a halo outline. The smoothing itself is a data transformation; this type only renders it, so the candle shape stays and the body gets richer.

seriesType: 'heikinAshiGlow';Delta candles
A candle whose body carries order flow: the tone follows the sign of the bar delta and its saturation
the share of that delta in the normaliser - usually the SMA of |delta|, otherwise the mean |delta|
of the visible window. Bars without a delta keep the plain candle look, so the type replaces
candles on a host that has no footprint feed.

renderer.render(context, {
// frame: bars, scales, theme, sizes
seriesType: 'deltaCandles',
deltas: [-420, 1150, 0, 880], // one value per bar
deltaSma: 600, // optional explicit normaliser
});The tone is a pure function, deltaTone(delta, normaliser, theme), so a bar color can be asserted
without a canvas.
Adaptive detail
One type for the whole zoom range: it reads the bar density and picks the readable representation. At six pixels per bar and above it draws the candles, between 2.5 and 6 pixels a high-low ribbon in the direction colour, and below 2.5 pixels the close line plus a thin direction strip at the foot of the plot. The colour of the bars survives every step down, so a compressed chart still reads up and down; a bar without a finite open or close is skipped instead of being tinted by a guess.

import { adaptiveDetailMode } from '@unifin/chart-core';
renderer.render(context, {
// frame: bars, scales, theme, sizes
seriesType: 'adaptive',
});
adaptiveDetailMode(9); // 'candles'
adaptiveDetailMode(4); // 'ribbon'
adaptiveDetailMode(1.5); // 'line'Spline
The spline type smooths the close line with a monotone cubic interpolation. The curve never leaves
the span of its neighbouring points, so a smoothed chart cannot show a price that was never traded -
the classic Catmull-Rom spline overshoots on sharp moves and does exactly that. A gap in the data breaks
the curve instead of bridging it.
<UnifinChart symbol="AAPL" timeframe="1h" bars={bars} seriesType="spline" spline={{ tension: 0 }} />
Lollipop
The lollipop type is the event look: a dot on every bar with a stem down to a baseline. The baseline
is the close of the first visible bar, so the frame reads as a move against the start of the period;
a host that plots dividends or corporate actions pins its own baseline. Dots of a dense window are
thinned out by the dot diameter, so they never merge into a solid band.
<UnifinChart symbol="AAPL" timeframe="1d" bars={events} seriesType="lollipop" lollipop={{ baseline: 0 }} />
Rendering backends
The Canvas2D renderer draws every type. The optional WebGL2 backend accelerates the five
heaviest-traffic types - candles, bars, line, step and area - and falls back to Canvas2D
where WebGL2 is unavailable. Custom types registered by the host stay on Canvas2D.
See also
- Charts - scales, panes and profiles around the series.
- Analytics kits - analytic series on a non-time axis.
- API overview - the renderer input and the React props.
Getting started
Install the packages, prepare bars, render a chart in React or with the custom element, apply a theme and drive the core directly.
Bar insight
What one bar can tell - volume inside the body, adaptive detail on dense history, the ghost of the previous session, the delta reading and the fold between timeframes.
