IExportPDFOptions

Type interface

Represents options for PDF export.

Inheritance

IExportPDFOptions extends IExportImageOptions.

IExportPDFOptions is not extended by any other symbol.

Properties

addColumnNames
#

Type boolean

Add column names in first row?

Export will try to use user-friendly column names where possible, either from Export's dataFields or deduced from chart's series' names that are bound to specific data fields.

@default true
@since 4.7.0

addData
#

Type boolean

Should data table be included together with the image?

Use "pdfdata" options to configure table output.

@default false
@since 4.7.0

addURL
#

Type boolean

Whether to add a URL of the web page the chart has been exported from.

@default true

emptyAs
#

Type any

Replace missing values with this.

@default "" (empty string)
@since 4.7.0

fontSize
#

Type number

Font size to use for all texts.

imageFormat
#

Type imageFormats

An image format to use for embedded images in PDF.

See imageFormats in Export_module.

keepTainted
#

Type boolean

Inherited from IExportImageOptions

Normally, Export removes "tainted" images (images that are loaded from other host than the chart itself) before export.

Set this to true to 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.

@default false

pageMargins
#

Type number | number[]

Page margins.

Can be one of the following:

A single number, in which case it will act as margin setting for all four edges of the page.

An array of two numbers [ horizontal, vertical ].

An array of four numbers [ left, top, right, bottom ].

pageOrientation
#

Type "landscape" | "portrait"

Page orientation.

pageSize
#

Type pageSizes

Page size of the exported PDF.

See pageSizes in Export_module.

pivot
#

Type boolean

If set to true will export data as pivoted (column names in first column;

values in rows).

@default false
@since 4.7.0

quality
#

Type number

Inherited from IExportImageOptions

Quality of the exported image. (0-1)

scale
#

Type number

Inherited from IExportImageOptions

Rescale image.

Number less than 1 will shrink the image.

Number bigger than 1 will scale up the image.

@default 1

useLocale
#

Type boolean

Will try to format numbers and date/time according to user's locale settings.

@default true
@since 4.7.0

useTimestamps
#

Type boolean

Use timestamps instead of formatted date/time values.

@default false
@since 4.7.0

There are 3 inherited items currently hidden from this list.