Skip to content

charton API


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

Interface: DrawingToolbarOptions ​

Defined in: ui/src/drawing-toolbar.ts:17

Options for createDrawingToolbar: an optional Settings button handler.

Methods ​

onSettings()? ​

optional onSettings(id): void

Defined in: ui/src/drawing-toolbar.ts:23

Show a Settings button that calls this with the selected drawing's id, e.g. to open openDrawingSettings. The settings then hold the fields that are not inline, so the "More style" popover is left out.

Parameters ​

id ​

string

Returns ​

void