Skip to content

IExportCanvas

Type interfaceSince 4.2.0

An interface describing extra elements to include in export.

Sources

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

Properties

crop

Type booleanDefault falseSince 4.6.1

If this is set to true and extra element is higher/wider than main chart element, the extra element will be cropped.

marginBottom

Type number

Bottom margin in pixels.

marginLeft

Type number

Left margin in pixels.

marginRight

Type number

Right margin in pixels.

marginTop

Type number

Top margin in pixels.

position

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

Position to put extra element in relation to main chart.

sprite

Type Sprite

Reference to element.