Skip to content

IExportingImageSource

Type interface

Sources

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

Properties

crop

Type undefined | false | true

Keeps the export at the main chart's width (or height, for "left" and "right"), cutting off an extra chart that is larger.

marginBottom

Type undefined | number

Bottom margin in pixels.

marginLeft

Type undefined | number

Left margin in pixels.

marginRight

Type undefined | number

Right margin in pixels.

marginTop

Type undefined | number

Top margin in pixels.

position

Type "left" | "right" | "top" | "bottom"Default "bottom"

Side of the main chart to place the extra chart on.

source

Type Root

Root element of the extra chart to add to the export.