ReadonlyalertsReadonlychartReadonlycontextReadonlydataManaged data owner, or null when the host supplies series data directly.
ReadonlydrawReadonlydrawingThe template store's catalog as the widget holds it, or null without a drawingTemplates store.
ReadonlyhistoryOne undo timeline for the chart: studies, their settings, the chart type,
price scales, panes and drawings. Ctrl+Z, Ctrl+Y, the rail and the mobile
controls all walk it. A host's own change that should not be a step goes
through history.ignore; loading a layout with restoreState clears it.
ReadonlyinstrumentWhat keeps the drawings per instrument, or null in 'chart' scope. A
host reads another instrument's drawings through it (document), or
writes them now (save).
ReadonlyisReadonlylayoutsThe controller behind the Layouts menu, or null without one (workspaces, layouts).
ReadonlyobjectsShared inventory and supported actions for drawings, indicators and registered profiles.
ReadonlyreadySettles once the persisted layout has been applied and the first load
has started (since 2.5.10). At once without persist or over a
synchronous store; over an asynchronous one (IndexedDB, the default)
when it has been read, and until then the widget stays out of sight and
shows the defaults. Never rejects: a store that fails is reported on the
status line and the widget opens on its defaults. A host that reads or
edits the restored layout (getState, the indicators, the view) awaits it.
ReadonlyrootThe .oac-widget element.
ReadonlyseriesThe primary series; its handle stays stable across chart-type changes.
Show a date, or an explicit UTC range, after loading the older history it
needs through the feed. Waits for a load in flight; a newer request, a
symbol or interval change, a pan or zoom while history loads, or
destruction settles it cancelled.
Optionalcb: (payload: WidgetBusEvents[K]) => voidSelect a chart type while retaining series state: a renderer, or a
transform the chart applies to the bars the widget loads (Heikin Ashi,
Renko, range bars, line break, point and figure, Kagi). A widget whose host
feeds series itself keeps point and figure and Kagi as renderers over the
elements that host prepares, as before.
Show another of the feed's series for the same instrument. A change is a new source: the load in flight is cancelled, the bars are cleared and the variant is loaded, or reported unsupported when the feed does not declare it. Undefined returns to the default. Throws a TypeError for a malformed one.
Show a preset range (WidgetOptions.ranges): its interval, its span in view, and the history that needs. One wider than the plot keeps its latest bars in view (clipped).
The data variant in use, undefined for the feed's default series.
What every mounted piece was handed; a host mounting its own panel wants the same.