Skip to content

charton API


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

Function: layouts() ​

layouts(): ChartPlugin

Defined in: packages/core/src/builtins.ts:328

Plugin that saves and restores what the user arranged: chart.serializeLayout and chart.loadLayout (symbol and interval, chart type, panes and price scales, indicators, drawings and the visible range). Without it both throw; state:change and layoutLoading need no plugin.

Returns ​

ChartPlugin