interface ExportConfig<C extends Chart>
An interface that defines the parameters for a call to the exportPng function.
The Chart to export.
filename: undefined | string
The filename for the exported PNG.
pixelRatio: undefined | number
The pixel ratio of the rendered PNG. Using a number larger than 1 will over-render the PNG, making it larger. Using smaller numbers currently has strange behavior, and it’s not recommended.