Skip to content

IExportingImageOptions

Type interface

Sources

IExportingImageOptions is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IExportingImageOptions extends IExportingFormatOptions.

IExportingImageOptions is extended by IExportingPDFOptions, IExportingPrintOptions.

Properties

maintainPixelRatio

Type undefined | false | trueDefault false

Exports the image at the chart's size in CSS pixels. When false, it is exported at the screen's resolution: larger on high-density screens.

More info: Exporting to image formats: pixel ratio

maxHeight

Type undefined | number

Maximal height of exported image, in pixels.

More info: Exporting to image formats: sizing exported image

maxWidth

Type undefined | number

Maximal width of exported image, in pixels.

More info: Exporting to image formats: sizing exported image

minHeight

Type undefined | number

Minimal height of exported image, in pixels.

More info: Exporting to image formats: sizing exported image

minWidth

Type undefined | number

Minimal width of exported image, in pixels.

More info: Exporting to image formats: sizing exported image

quality

Type undefined | number

Quality of the image, 0 to 1: 1 by default, 0.8 for JPG. Only JPEG images use it.

1 inherited item
disabled

Type undefined | false | trueInherited from IExportingFormatOptions

Leaves this format out of the ExportingMenu.