Skip to content

charton API


charton API / @chart-on/ui / index / defaultToolbarItems

Function: defaultToolbarItems() ​

defaultToolbarItems(): ToolbarItem[]

Defined in: ui/src/default-toolbar.ts:24

The toolbar a shell shows when the app gives none: the symbol, the interval menu and indicators on the left, and indicator templates, bar replay, fullscreen and chart settings on the right. Rule: on the left, what the chart shows (which symbol, over which time, with which studies); on the right, ways to keep, replay and frame that view, then the settings entry point last. Everything else is opt-in. Spread it to add your own.

Returns ​

ToolbarItem[]