Skip to main content

UI Elements

Find the region you can see first, then follow the page that owns its behavior and configuration. TradeScript separates chart-owned UI, host-composed panels, and adapter-owned data so a visual feature never becomes a second source of truth.

The terminal at a glance

Full TradeScript chart widget in dark theme showing the top toolbar, left drawing toolbar, legend rows, candlestick price pane with EMA overlays, volume sub-pane, right price scale, and bottom time scale

BTCUSDT · 15m · dark theme — full widget chrome captured from the live playground.

Six regions make up the terminal:

  1. Top toolbar — symbol box, interval picker, compare, layout storage, symbol search, indicators, chart type, time range, undo/redo, timezone, snapshot, and fullscreen controls. Owned by features gates plus customization().setToolbar(...). See Toolbars.
  2. Legend — OHLCV values row, symbol identity row, and indicator rows with per-row controls. Owned by LegendSettings via customization().setLegend(...). See Legend.
  3. Drawing toolbar (left rail) — tool families, magnet, visibility, remove, and lock controls. Owned by features.drawings and drawing settings. See Toolbars and Drawing Tools.
  4. Price pane and indicator sub-panes — the chart canvas itself, stacked panes, and pane headers. See Chart and Panes and Scales.
  5. Price scale (right) — tick labels, last-price label, and the currency/unit header. Owned by PriceScaleSettings and ChartDisplaySettings. See Price Scale.
  6. Time scale (bottom) — time labels and viewport navigation. See Time Scale.

Full TradeScript chart widget in light theme showing the same toolbar, legend, drawing rail, candlestick pane, price scale, and time scale chrome

BTCUSDT · 15m · light theme — the same chrome under the light preset; see Themes.

RegionStart hereOwner
Center chart, legend, panes, and scalesChart, Legend, Panes and ScalesChart/widget
Top and left controlsToolbars, Resolution, Symbol Search SurfaceChart customization + feature gates
Watchlist and account panelsWatchlist, TradingHost composition + datafeed/broker adapters
Data inspectionData Window, Chart Data Table, Instrument DetailsDatafeed or chart export, as documented
Drawings, marks, and snapshotsDrawing Tools, Marks, SnapshotsChart objects + adapter inputs

Change what the chart shows

Read values off the chart

Control axes and layout

Annotate and export

Next steps

  • Chart — mount, readiness, and chart-level control.
  • Toolbars — built-in controls and application actions.
  • Styling — themes, features, slots, and accessibility.
  • Product surfaces — mobile, watchlist, session, workspace, and trading experiences.