Chartsv26.10.18
Pro edition

Pro effects

What the Pro edition adds on screen - the order book, the terminal panels, the risk figures, the desk surfaces - and the look engine driven at desk strength with the volume effects, the gradients, the presets and the replay.

The Pro edition does not replace the chart. It adds its own surfaces on top of the same engine, and this page keeps the groups apart: first the surfaces only Pro ships, then the look engine driven at desk strength.

What is unique to Pro

Every export below ships only in the Pro entry point @unifin/chart-react/pro. The Standard entries do not carry these modules at all.

GroupPro entry exportsWhat it drawsDocs
Order flowOrderbookChart, OrderbookLadder, PrintTape, BarProfilePanelFive order book variants, the depth ladder, the print tape and the per-bar profileOrder book
Terminal panelsLiquidityRibbonPanel, DeltaCandlesPanel, PaceOfTapePanel, AuctionHeatmapPanel, EfficientFrontierPanelLiquidity ribbon, delta candles, pace of the tape, auction landscape and the efficient frontierTerminal panels
Risk figuresCorrelationPanel, RiskDecompositionPanel, ScenarioConePanel, AttributionPanelCorrelogram, risk decomposition, scenario cone and the attribution bridgeAnalytics kits
Desk and workspaceWorkspacePanel, MultiChartGrid, DrawingTree, CommandPalette, KeymapPanel, FavoritesBarSaved layouts, a grid of up to 16 panes, the object tree, the command palette, the hotkey map and the favorites stripFeatures
AlertsAlertManager, AlertGroupPanel, AlertGroupEditor, AlertActionList, createAlertNotifier, ToastStackRule manager, condition groups, the action plan, toasts and the alert soundFeatures
Trading deskOrderTicketPanel, SessionPanel, PaperSessionPanel, ComparePanel, CompareChip, WatchlistPanel, DataWindowPanelOrder ticket, sessions and timezones, the paper session report, comparison, watchlist and the data windowTerminal panels
Tables and exportDataTable, chartPdfFromCanvas, openPanelPopout, createLinkBridgeFinancial boards, the PDF export, popped-out windows and the LINK bridgeTable kit
Control kitUiButton, UiInput, UiSelect, UiDialog, UiMenu, UiTooltip, MOTION_DURATIONOne control language and one motion scale for every panelReact API

A Pro surface is white-label as well: the Standard attribution mark is not drawn on any of them.

Pro-only effects

Pro only The three families below are the Pro entry point itself. Each panel reads the active theme and the look pack, so a palette switch repaints it with the chart.

Order book variants

The five canvas variants of a live two-sided book: depth area, depth histogram, ladder, heatmap and imbalance.

Theme
Best bid
12949.50
Best ask
12950.50
Spread
1.00
Mid
12950.00
Imbalance
0.05
Bid / ask
20.2K / 18.1K

Rendered by `OrderbookChart` from `@unifin/chart-react/pro` - a Pro component over the public `paintOrderbookChart` of the core. The book is synthetic; every control drives the real props (variant, theme, look pack, aggregation step, book depth).

Terminal panels

Liquidity ribbon, delta candles, pace of the tape, auction landscape and the efficient frontier - the panel painters of the Pro entry point.

Theme

Risk figures

Correlogram, risk decomposition, scenario cone and the attribution bridge from the risk kit.

Theme

The look engine on the chart

Pro desk The engine that drives every Pro surface, shown on the chart itself: the look pack, the four gradients, the presets, the replay and the volume effects of the core depth painters - the desk composition no Standard scene demos.

Try it live

Live stream

No change applied yet - touch any control and this line reports what it did to the chart above.

Pro desk runs this engine at full strength: the volume effects of the core depth painters, live sparks and the white-label frame. The Pro panels of this page and the desk take the same look further.

Palette
Dark
Look
aurora · ice · onest
Gradients
indicator, volume
Presets
sparks
Volume effects
0 cells · 0 rows · 0 candles
Bursts
0

Look pack

Series and look attributes of the element; every change rebuilds the scene above in place.

Series
Backdrop
Bars
Volume tone
Readout skin
Font

Gradients

One attribute each, at most one ramp per colour and frame. The indicator ramp paints the stroke of line, area and spline series - switch the series above to see it. The line ramp re-colours the tail of a line body and also implies the indicator ramp, so it ships off here.

Presets

Element presets (`fx()`) and the burst style of the live sparks.

Replay

The history cursor of the element: play, step, pause, exit. Step works from any state.

Volume effects

Painted by the core depth painters from fixed data: the grid, the profile and the parallax come from `buildIsometricGrid`, `depthProfileRows` and `parallaxShape`; the canvas takes the chart palette, so a palette switch repaints it together with the chart.

Effect
0 cells0 rows0 candlesIsometric heat map · Candle parallax · Depth profile

Rendered on this page by `@unifin/chart-element` and the core depth painters. Every control drives the real public API: the look selects map to `backdrop`, `bars-style`, `volume-tone`, `volume-alpha`, `readout-skin` and `font`, the gradient switches map to `indicator-gradient`, `line-gradient`, `volume-gradient` and `chart-gradient`, the preset switches call `fx()`, and the replay row calls `replayPlay`, `replayStep`, `replayPause` and `replayExit`. The Pro surfaces are white-label: the frame draws no attribution mark. Effects are refused while the system prefers reduced motion.

The bar above the chart switches the timeframe, the live stream and the palette. The cards under the chart drive the look pack, the gradients, the presets, the replay and the volume effects: every row writes a real attribute or method of the element, and the status line under the chart reports the change it just applied - including a preset the system refused under reduced motion. The chip row of the volume effects counts the objects their painters wrote, and the counters above keep the palette, the look, the gradients and the presets in force readable at a glance. The volume effects, the live sparks and the white-label frame are what the desk adds here; the Pro panels of this page carry the same look into the book, the figures and the desk.

Volume effects

Three effects give a flat two-dimensional frame a sense of depth without WebGL and without a second render stack. All three are pure functions of the core render entry point: they take data and return geometry or paint with the host tokens.

EffectCore entryWhat it draws
Isometric heat mapbuildIsometricGrid, paintIsometricGridValue levels projected to a grid that runs in time and back in value; the depth of a cell follows its weight
Candle parallaxparallaxShape, paintParallaxCandlesA shift away from the centre with a shadow plane; the candle geometry never changes, only the offset and the tone
Depth profiledepthProfileRows, paintDepthProfileA profile unfolded into depth; the row length follows the volume and the largest level leads

Each effect is capped, so a wide range cannot flood the frame: the isometric grid stops at ISOMETRIC_MAX_ROWS rows and ISOMETRIC_MAX_DEPTH pixels of depth, the parallax shift at PARALLAX_MAX_OFFSET and the profile row at DEPTH_PROFILE_MAX_LENGTH. A dense axis damps the parallax instead of smearing it.

import { buildIsometricGrid, paintIsometricGrid } from '@unifin/chart-core/render';

const grid = buildIsometricGrid(cells, { cellWidth: 16, levelHeight: 5, skew: 4 });
const painted = paintIsometricGrid(ctx, grid, { accent: '#2962ff', up: '#26a69a', down: '#ef5350', warn: '#cc06fb' }, { x: 24, y: 40 });

The painters own no palette: colours arrive as tokens of the chart palette and the scene fills the background, so a palette switch repaints the canvas together with the chart. A canvas that cannot paint keeps the flat fill instead of failing.

Look pack and gradients

The look pack is one object on the element (look) and a set of attributes with the same names. It restyles the frame without touching the data or the layout.

ControlAttributeValues
Backdropbackdropflat, gradient, aurora
Barsbars-styleclassic, neon, sunset, ice, mono
Volume tonevolume-tonetheme, dim, accent, contrast
Volume alphavolume-alpha0.15 .. 1
Readoutreadout-skinplain, chip, cards
Fontfontonest, inter, serif, mono
Indicator gradientindicator-gradientpresent or absent
Line gradientline-gradientabsent, on, or a share 0.02 .. 0.9
Volume gradientvolume-gradientabsent, on, or a share 0.02 .. 0.9
Chart gradientchart-gradientabsent, on, or from=#..,to=#..,angle=..,phase=..

The three gradients are independent and work in every palette. line-gradient shades candle and column bodies from the bright top towards their own darker tail and tapers line and area strokes. volume-gradient shades the volume band and stays independent of the volume tone. chart-gradient replaces the flat theme fill with a ramp derived from the palette.

Each gradient creates at most one ramp per colour and frame, so a long history keeps the flat frame cost. A canvas without gradients keeps the flat fill, and classic always resolves to the live theme colours.

Presets and replay

The presentation presets are opt-in, follow the motion policy and cost nothing while they are off.

PresetWhat it drawsWhen it fires
sheena soft highlight sweeping across the framecontinuously while active
cursorGlowa radial glow following the pointerwhile active and the pointer moves
sparksa burst of particles at the newest closeon activation, on scene switches and on every live update of the last bar
const element = document.querySelector('unifin-chart');
element.fx('sparks', true);   // false when the system prefers reduced motion
element.sparkStyle = 'nova';  // burst style, read on the next burst

The history replay is the same engine the Pro workspace uses. replayPlay(speed, from) starts the cursor, replayStep(delta) walks whole bars, replayPause() holds it and replayExit() draws the full history again. replay:progress reports the index, progress, playing flag and speed.

Desk frame effects

The frame effects of the desk share the same engine and stay opt-in as well. The profile gradient, the area glow and the parallax depth layer are painted by the render subpath of the core, and the three desk presets merge one look over the host look without touching the host object.

Frame effects

Effect layer

Painted by the render subpath: `paintProfileGradient` draws the value area ramp and the POC/VAH/VAL pills through the frame gradient registry, `paintAreaGlow` adds the halo passes under the line, `paintDepthLayer` shifts the candles into the distance, and `DeskPresets` merges one of the three desk looks (terminal dark, corporate light, white label) over the host look by `applyDeskPreset`. Switching an effect off paints nothing and leaves the base frame untouched.

EffectWhat it drawsSwitch
Profile gradientthe value area ramp between VAH and VAL plus the POC, VAH and VAL pillspaintProfileGradient with the frame registry
Area glowthree halo passes under the line fill, fading with the linepolish.glow on the series
Depth layerthe candles shifted into the distance by the parallax shapepaintDepthLayer above a minimum plot width
Desk presetsone of three desk looks: terminal dark, corporate light, white labelDeskPresets / applyDeskPreset

The depth layer fades out below the fade spacing and switches off entirely on a dense zoom, in the mini mode or on a plot narrower than 400 px: a refused layer paints nothing, so switching it off leaves the base frame byte for byte. Each gradient ask resolves through the frame registry, which keeps at most one ramp per colour and frame and drops the ramp when the theme or the canvas size changes.

Motion policy

While the system prefers reduced motion, enabling a preset returns false and nothing is drawn. The same policy gates the scene crossfade and the view animations, so a host never special-cases effects.

See also

On this page