IExportingPDFOptions

Type interface

Inheritance

IExportingPDFOptions extends IExportingImageOptions.

IExportingPDFOptions is not extended by any other symbol.

Properties

addURL
#

Type undefined | false | true

Default true

Adds the URL of the page the chart was exported from.

align
#

Type "left" | "center" | "middle"

Default "left"

Horizontal alignment of the chart image on the page: "left", "center" or "right".

disabled
#

Type undefined | false | true

Inherited from IExportingFormatOptions

Leaves this format out of the ExportingMenu.

extraFonts
#

Type Array

More fonts to register, for use by individual elements of the document, e.g. from a pdfdocready listener. Used only together with font.

Click here for more info

font
#

Type IFont

Font of the PDF's text. The default font has only Latin and Cyrillic characters, so text in other scripts needs a font that has them.

Click here for more info

fontSize
#

Type undefined | number

Default 14

Font size of the title, the page URL and the data table.

imageFormat
#

Type "png" | "jpg"

Default "png"

Format of the chart image in the PDF.

includeData
#

Type undefined | false | true

Adds a table of the dataSource data below the chart image.

maintainPixelRatio
#

Type undefined | false | true

Default false

Inherited from IExportingImageOptions

Exports the image at the chart's size in CSS pixels. When false, it is exported at the screen's resolution: larger on high-density screens.

Click here for more info

maxHeight
#

Type undefined | number

Inherited from IExportingImageOptions

Maximal height of exported image, in pixels.

Click here for more info

maxWidth
#

Type undefined | number

Inherited from IExportingImageOptions

Maximal width of exported image, in pixels.

Click here for more info

minHeight
#

Type undefined | number

Inherited from IExportingImageOptions

Minimal height of exported image, in pixels.

Click here for more info

minWidth
#

Type undefined | number

Inherited from IExportingImageOptions

Minimal width of exported image, in pixels.

Click here for more info

pageMargins
#

Type number | number[]

Default 30

Page margins in points (1/72 inch): one number for all four edges, [horizontal, vertical], or [left, top, right, bottom].

pageOrientation
#

Type "landscape" | "portrait"

Default "portrait"

Page orientation.

pageSize
#

Type pageSizes

Default "A4"

Page size.

quality
#

Type undefined | number

Inherited from IExportingImageOptions

Quality of the image, 0 to 1: 1 by default, 0.8 for JPG. Only JPEG images use it.

There are 7 inherited items currently hidden from this list.