IExportCanvas

Type interface

An interface describing extra elements to include in export.

@since 4.2.0

Inheritance

IExportCanvas does not extend any other symbol.

IExportCanvas is not extended by any other symbol.

Properties

crop
#

Type boolean

Default false

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

@since 4.6.1

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.