Skip to content

charton API


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

Function: screenshot() ​

screenshot(options?): ToolbarItemLayout & ToolbarItemWatch & ToolbarItemText & object

Defined in: ui/src/toolbar-presets.ts:302

Button in the view group that downloads an image of the chart (chart.captureImage). Needs the imageCapture() plugin, which the UI shell adds; without it a click shows an error notification.

Parameters ​

options? ​

ScreenshotPresetOptions = {}

Returns ​