charton API / @chart-on/ui / index / createChartSettings
Function: createChartSettings()
createChartSettings(
chart,host,options?):ChartSettingsHandle
Defined in: ui/src/chart-settings.ts:219
The chart settings dialog: the sections of chartSettingsSchema (or the app's, see sections) as a form in host (the shell element, so it picks up the theme). Edits apply live; Ok keeps them, Cancel and Escape put the chart back, and "Reset to defaults" goes back to the app's options. Saved settings are applied when the handle is created, and the main series' settings again whenever a main series is added.
Parameters
chart
host
HTMLElement
options?
ChartSettingsOptions = {}