Features
What Unifin Charts includes - rendering, scales, panes, data, indicators, drawings, profiles, order flow, alerts, trading UI, accessibility and performance, with the edition each area belongs to.
This page maps the feature areas of the library to the entry point that ships them: Standard
(@unifin/chart-react/standard) for base charting and Pro (@unifin/chart-react/pro) for the
professional workspace. The framework-free core is shared by both.
Areas
| Area | Standard | Pro |
|---|---|---|
| Rendering | Canvas2D and optional WebGL2, profiles, palettes, volume and legend layers | Panels and figures on the same painters |
| Scales and panes | Five scale modes, stacked panes, volume pane preset | Multi-chart layouts and sync groups |
| Data | Bars, ticks, resampling, pageable feeds, caching, reconnect | - |
| Indicators | Registry-driven engine, 128 studies, host overlays | Formula studio and template catalogue |
| Drawings | 96 tools, undo and redo, templates, snapshots, share links | Object tree and bulk actions |
| Volume profile and order flow | - | Profile, clusters, ladder, tape, heatmap, order book chart |
| Alerts | - | Rule builder, groups, templates, retry policy |
| Trading UI | - | Order ticket, risk ruler, draggable levels, paper broker |
| Workspace and replay | - | Layouts, command palette, market replay |
| Chart chrome | Watermark, grid styles, legend, events, price lines, A-B ruler, panning | Quote header |
| Look pack | Backdrops, bar palettes, volume tones, readout skins | - |
| Accessibility and theming | Tokens, six palettes, keyboard and ARIA, locale packs | Panels on the same controls |
| Performance | Frame budgets, decimation, tiles | Worker rendering, WASM pilot |
Rendering
- Canvas2D renderer with dirty-region repainting and device-pixel-ratio aware text.
- Optional WebGL2 backend for the five heaviest-traffic series types, with automatic fallback.
- Four presentation profiles:
sparkline,mini,standard,terminal. - Six token-based palettes - dark, light, corporate, capitalMarkets, orange, unifin - plus the
systemalias and white-label hosts; the registry is public (CHART_THEMES,resolveThemeByName). - Optional volume columns and an OHLCV legend layer; empty, loading and error states adapt to the pane size.
- Live presets on the custom element: a sheen sweep, a cursor glow and sparks that follow the newest close (Live effects).
Scales and panes
| Item | Details |
|---|---|
| Price scale modes | linear, log, percentage, indexedTo100, volume |
| Time scales | Seconds to monthly bars, session-aware labels |
| Panes | Up to 16 stacked panes, drag handle, shared time scale, per-pane price scale |
| Axis side | RenderInput.priceScalePosition: 'left' | 'right' (default right) |
| Volume pane | addVolumePane(layout) gives the strip its own volume scale and shared time |

Pro adds ChartGrid for multi-chart layouts and sync groups that tie the crosshair and the visible
range across charts, including layout persistence.
Data
- Bars and ticks; resampling between timeframes is built in.
- Pageable
Datafeedinterface with a memory adapter for tests and a market-data adapter for REST, SSE and STOMP transports. - Bar cache, idempotent reconnect and deterministic ordering.
- Split and dividend adjustments for histories; calendar events (dividends, splits, reports) map onto the bar axis.
Events
Fifty-plus typed events cover viewports, crosshair, drawings, alerts, delivery, replay, order lines, paper trading, indicators and data gaps. Every stream uses one pattern: the subscribe call returns an unsubscribe function, listeners are isolated from each other, and idle operations stay silent.
Indicators
- Registry-driven engine: parameters, panes, styles and legends come from descriptors.
- Incremental recalculation - updating one bar recalculates the affected tail only.
- A catalogue of 128 studies: moving averages, oscillators, volatility bands, volume studies, relative strength and more - see Indicators.
- Host-computed overlays draw on top of the price series without registering a study.


Drawings
- 96 tools: lines, channels, Fibonacci, Gann, shapes, patterns, measurement, positions.
- Anchors snap to bars and prices; magnet mode aligns to OHLC values.
- Undo and redo history, template library, JSON snapshots with tolerant parsing, compact share links.

Volume profile and order flow
- Volume profile with POC, value area, histogram rows, step control and composite profiles.
- Cluster and footprint views with per-price volume, imbalance and absorption cues.
- Ladder and tape models with cumulative delta, plus a book heatmap that coarsens over long sessions.
- Order book chart with five canvas variants (depth area, depth histogram, ladder, heatmap, imbalance) - see Order book chart.

Analytic figures
Waterfall, bullet, box plot, fan chart and the shared heatmap painter plot values on a domain axis instead of a clock. They read one paint input, take colors from the theme and the look pack, and degrade to flat fills without gradients - see Analytic figures.
Alerts
- Rule conditions over price, indicators and drawing objects.
- Message templates with named placeholders and locale defaults.
- Retry with exponential backoff and jitter; delivery plugs into the host channels.
Trading UI
- Order ticket with six order types: LIMIT, MARKET, STOP_LIMIT, TAKE_PROFIT, FOK, IOC.
- Risk ruler: drag to measure reward-to-risk, levels snap to the price grid.
- Stop and take levels draggable on the chart; positions and profit are drawn in the pane.
- Pending order lines draggable on the chart with a version journal.
- Paper broker and session report for rehearsal; read-only modes for view-only roles.

Workspace and replay
- Multi-pane terminal layouts with a command palette.
- One control kit: toolbar, buttons, inputs, dialogs, menus and tooltips shared by every panel.
- Market replay with speed control, seeking and recording serialization.
- Formula studio: validate and preview custom formulas before saving them to the catalogue.
- Template catalogue: ten starter workspaces with revisions, JSON import and export, and share codes.



Chart chrome and measurement
These options are off by default; each one exists as a React prop, an element attribute and a render input - the attribution mark is the exception: it is a React prop of the Standard surface.
| Option | What it adds |
|---|---|
watermark, watermarkPosition, watermarkImage | The ticker stamp in the centre or the bottom-left corner, plus a host image for a white-label mark |
attribution | The Unifin mark with the link to the site in the chart corner; on by default, false is the white-label Pro setting |
gridStyle, gridPeriod | Dotted grid lines, and a brighter divider where a month, quarter or year opens |
legend | The compact OHLCV row with a ticker heading and a collapse chevron |
events | The corporate-event lane above the time axis with badges and a detail card |
priceLines | Price and alert lines with an axis tag, an optional padlock and a hover highlight |
measure | A pinned A-B ruler: delta in price and percent, span in bars and time |
volume.tag | The value tag of the newest volume column |
polish.leftFade | The history fade at the left edge, so the newest bars read as "now" |
QuoteHeader | The instrument strip above a chart: bid, ask, spread, last price and change |
Panning is public: panByPixels and panByBars on the React result, on the binding and on the
element turn a swipe or a trackpad delta into calls. The canvas keeps touch gestures with pointer
capture. The full lists live on the React API and
core API pages.
Look pack and skins
One look object groups the presentation choices: backdrop, bar palette, volume tone, gradient
stroke and readout skin. Every field is optional and additive - without it the chart keeps the flat
rendering, and the classic palette always resolves to the live theme colors, so a white-label
shell stays repaintable through its tokens.
| Option | What it changes |
|---|---|
look.backdrop | flat, gradient or aurora (accent glow from the top-right corner) |
look.bars | classic, neon, sunset, ice or mono - the up and down pair |
look.barGradient | Gradient bodies, bright at the top towards the palette tail |
look.volumeTone, look.volumeAlpha | The volume band reads as a separate layer with its own tone and opacity |
look.indicatorGradient | Tapers the stroke of line, step, area and indicator curves |
look.readoutSkin | The OHLC readout row as plain columns, chip pills or cards boxes |
look.font | onest, inter, serif, mono or any literal font stack |
Every control of Live effects maps to one of these fields, and each field is also an
attribute of the custom element (backdrop, bars-style, volume-tone, volume-alpha,
indicator-gradient, readout-skin, font).
Timeframes
The switcher above changes the step without reloading a feed: the scene keeps a one-minute base and
rebuilds the window through the public resample of the core - open is the first bar of the bucket,
close the last, high and low the extremes, volume the sum. The window is sliced to a steady bar
count, so a coarse step shows fewer, wider bars. On the custom element the same switch is the
timeframe attribute and repaints with a short crossfade.
Accessibility and theming
- Theme tokens drive every color; swapping a palette does not touch layout.
- Six palettes ship in the registry - dark, light, corporate, capitalMarkets, orange, unifin - plus the
systemalias; every palette is checked for WCAG AA text contrast in the core test suite. - Host tokens cover palette, radius, font and row density (
compact/normal). - Keyboard focus, roles and ARIA labels are wired on the custom element and the React components.
- Animated transitions respect reduced-motion preferences.
- Locale packs for Russian, English, Kazakh and Uzbek across the core and the kits.

Performance
- Frame budgets are enforced with in-repo benchmarks: interactive charts stay inside the per-frame compute budget on a full-size window.
- Decimation and tile ranges keep hundreds of millions of bars scrollable.
- Optional worker rendering moves painting off the main thread; an experimental WASM path accelerates the heaviest studies with a parity check against the reference implementation.

See also
- Editions - entry points and bundle budgets.
- Product comparison - how the feature set compares to typical charting libraries.
- Series types - the drawing types behind the rendering area.
