Skip to content

charton API


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

Function: settingsToolbarItem() ​

settingsToolbarItem(): ToolbarItem

Defined in: ui/src/chart-settings.ts:148

Toolbar cog that opens the settings dialog of the chart it acts on; in the view group, meant to sit beside the screenshot button. Pressed while the dialog is open (pressing again closes it), and disabled on a chart without settings (outside a shell, or with settings: false).

Returns ​

ToolbarItem