exportPng

function exportPng<C extends Chart>(config: ExportConfig <C>): void

Save the current view in a chart as a PNG image.

Type parameters

  • C: Chart

Parameters

  • config: ExportConfig <C>

Returns: void