IExportImageOptions

Type interface

Represents options for image export.

Inheritance

IExportImageOptions does not extend any other symbol.

IExportImageOptions is extended by IExportPDFOptions, IExportPrintOptions.

Properties

disabled
#

Type boolean

Set this option to disabled for a format to not show up in ExportMenu.

@since 4.9.11

keepTainted
#

Type boolean

Normally, Export removes "tainted" images (images that are loaded from other host than the chart itself) before export.

Set this to true to disable it.

Please note that removal of tainted images might trigger cross-origin security restrictions in browser and prevent the whole export operation, so use with caution.

@default false

quality
#

Type number

Quality of the exported image. (0-1)

scale
#

Type number

Rescale image.

Number less than 1 will shrink the image.

Number bigger than 1 will scale up the image.

@default 1