IExportingPDFOptions
Type interface
Sources
IExportingPDFOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IExportingPDFOptions extends IExportingImageOptions.
IExportingPDFOptions is not extended by any other symbol.
Properties
addURLType
undefined|false|trueDefaulttrueAdds the URL of the page the chart was exported from.
alignType
"left"|"center"|"middle"Default"left"Horizontal alignment of the chart image on the page:
"left","center"or"right".extraFontsType
ArrayMore fonts to register, for use by individual elements of the document, e.g. from a
pdfdocreadylistener. Used only together withfont.More info: Exporting PDF: fonts
fontType
IFontFont 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.
More info: Exporting PDF: fonts
fontSizeType
undefined|numberDefault14Font size of the title, the page URL and the data table.
imageFormatType
"png"|"jpg"Default"png"Format of the chart image in the PDF.
includeDataType
undefined|false|trueAdds a table of the
dataSourcedata below the chart image.pageMarginsType
number|number[]Default30Page margins in points (1/72 inch): one number for all four edges,
[horizontal, vertical], or[left, top, right, bottom].pageOrientationType
"landscape"|"portrait"Default"portrait"Page orientation.
pageSizeType
pageSizesDefault"A4"Page size.
7 inherited items
disabledType
undefined|false|trueInherited fromIExportingFormatOptionsLeaves this format out of the
ExportingMenu.maintainPixelRatioType
undefined|false|trueDefaultfalseInherited fromIExportingImageOptionsExports 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.More info: Exporting to image formats: pixel ratio
maxHeightType
undefined|numberInherited fromIExportingImageOptionsMaximal height of exported image, in pixels.
More info: Exporting to image formats: sizing exported image
maxWidthType
undefined|numberInherited fromIExportingImageOptionsMaximal width of exported image, in pixels.
More info: Exporting to image formats: sizing exported image
minHeightType
undefined|numberInherited fromIExportingImageOptionsMinimal height of exported image, in pixels.
More info: Exporting to image formats: sizing exported image
minWidthType
undefined|numberInherited fromIExportingImageOptionsMinimal width of exported image, in pixels.
More info: Exporting to image formats: sizing exported image
qualityType
undefined|numberInherited fromIExportingImageOptionsQuality of the image,
0to1:1by default,0.8for JPG. Only JPEG images use it.