Skip to content

charton API


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

Interface: LayoutLoadOptions ​

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

Options for loadLayout: an upgrade for older payload versions, and whether to load the saved symbol.

Properties ​

migrate? ​

optional migrate?: LayoutMigration

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

Upgrades payloads of a version the built-in steps don't cover, e.g. an app's own older format.


symbol? ​

optional symbol?: boolean

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

Load the saved symbol and interval through the data source (when one is set). Default true.