The chart with its chrome: a top bar (symbol, intervals, chart type,
indicators, capture, settings, theme), the drawing rail, a status line, a
keymap and the dialogs, in one call. It is the one tier that ships DOM,
because a toolbar is DOM; the engine underneath still ships none.
Importing this module imports the draw tier, so every built-in drawing tool
is registered. The dialog modules register their mount functions through
registerWidgetDialogs; a shell built without them renders the buttons that
would open them disabled, with their state visible.
Widget tier (opt-in: "openalgo-charts/widget").
The chart with its chrome: a top bar (symbol, intervals, chart type, indicators, capture, settings, theme), the drawing rail, a status line, a keymap and the dialogs, in one call. It is the one tier that ships DOM, because a toolbar is DOM; the engine underneath still ships none.
Importing this module imports the draw tier, so every built-in drawing tool is registered. The dialog modules register their mount functions through
registerWidgetDialogs; a shell built without them renders the buttons that would open them disabled, with their state visible.