Skip to content

charton API


charton API / @chart-on/core / index / LayoutLoadResult

Interface: LayoutLoadResult ​

Defined in: packages/core/src/layout.ts:130

What loadLayout restored: parts it could not restore, saved metadata, unknown fields, and a promise for when the symbol is ready.

Properties ​

errors ​

errors: LayoutLoadError[]

Defined in: packages/core/src/layout.ts:132

Parts skipped or replaced by defaults; everything else loaded.


meta ​

meta: LayoutMeta | null

Defined in: packages/core/src/layout.ts:133


ready ​

ready: Promise<void> | null

Defined in: packages/core/src/layout.ts:140

Settles once the saved symbol has loaded and the saved view is applied; rejects when loading fails. Null when no symbol was loaded.


unknown ​

unknown: string[]

Defined in: packages/core/src/layout.ts:135

Top-level fields this version does not know. They are kept and written back by serializeLayout.