Skip to content

charton API


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

Function: seriesSettingsForm() ​

seriesSettingsForm(series, chart?): SeriesSettingsForm

Defined in: ui/src/series-settings.ts:98

The style form of a plain series or a compared symbol: its colours, line width and line style where it has a line, and whether it is visible. A compared symbol also gets its placement: on the price scale in percent (lines only), on its own scale, or in its own pane. Colour fields left empty follow the theme and show the colour drawn. chart gives the language of the labels and the theme (default the dark theme).

Parameters ​

series ​

Series

chart? ​

Pick<Chart, "localization"> & object & Partial<Pick<Chart, "compared">> | null

Returns ​

SeriesSettingsForm