Skip to content

charton API


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

Function: applyChartSettings() ​

applyChartSettings(chart, values): void

Defined in: packages/core/src/chart-settings.ts:529

Apply settings by path: one chart.applyOptions for the chart options, one applyOptions on the main series for the series. paths (skipped without a main series) and one setPriceScaleOptions on the main pane for the priceScale. paths.

Parameters ​

chart ​

Chart

values ​

Readonly<Record<string, unknown>>

Returns ​

void