IExportImageOptions
Type interface
Represents options for image export.
Sources
IExportImageOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IExportImageOptions does not extend any other symbol.
IExportImageOptions is extended by IExportPDFOptions, IExportPrintOptions.
Properties
disabledType
booleanSince 4.9.11Set this option to
disabledfor a format to not show up inExportMenu.keepTaintedType
booleanDefaultfalseNormally, Export removes "tainted" images (images that are loaded from other host than the chart itself) before export.
Set this to
trueto 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.
maxHeightType
numberSince 4.9.24Maximum height in pixels of the exported image. If source chart is bigger thank this, it will be scaled down.
NOTE: this setting might be overidden by
minHeight.maxWidthType
numberSince 4.9.24Maximum width in pixels of the exported image. If source chart is bigger thank this, it will be scaled down.
NOTE: this setting might be overidden by
minWidth.minHeightType
numberSince 4.9.24Minimum height in pixels of the exported image. If source chart is smaller thank this, it will be scaled up.
minWidthType
numberSince 4.9.24Minimum width in pixels of the exported image. If source chart is smaller thank this, it will be scaled up.
qualityType
numberQuality of the exported image. (0-1)
scaleType
numberDefault1Rescale image.
Number less than 1 will shrink the image.
Number bigger than 1 will scale up the image.