Skip to content

charton API


charton API / @chart-on/ui / index / createIndicatorSettings

Function: createIndicatorSettings() ​

createIndicatorSettings(chart, host, options?): IndicatorSettingsHandle

Defined in: ui/src/indicator-settings.ts:421

Indicator settings for a chart: open(indicator) shows its settings panel (see openIndicatorSettings), and so do a legend row's settings button, its menu's Settings… item (series:settings) for indicators, and double-clicking one of an indicator's plots. The legend shows those buttons on the rows of indicators whose definition is registered.

Parameters ​

chart ​

Chart

host ​

HTMLElement

options? ​

Pick<IndicatorSettingsOptions, "headerControl"> = {}

Returns ​

IndicatorSettingsHandle