Skip to content

IExportAdapters

Type interface

Represents a list of available adapters for Export.

Sources

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

Properties

backgroundColor

Type { backgroundColor: $type.Optional <Color> }

charset

Type { charset: string, options: IExportOptions[""], type: Keys }

container

Type { container: HTMLElement }

contentType

Type { contentType: string, type: Keys }

data

Type { data: Array <any> }

dataFieldName

Type { field: string, name: string }

dataFields

Type { dataFields: any }

dataFieldsOrder

Type { dataFieldsOrder: string[], format: string }

dateFields

Type { dateFields: any }

dateFormat

Type { dateFormat: $type.Optional <string | DateTimeFormatOptions> }

dateFormatter

Type { dateFormatter: DateFormatter }

durationFields

Type { durationFields: any }

durationFormat

Type { durationFormat: $type.Optional <string> }

durationFormatter

Type { durationFormatter: DurationFormatter }

exportFunction

Type { func: (type: Key, options: IExportOptions[""]) => Promise <any>, options: IExportOptions[""], type: Keys }

extraSprites

Type { extraSprites: Array <Sprite | IExportCanvas> }

filePrefix

Type { filePrefix: string }

formatDataFields

Type { dataFields: any, format: string }

getCSV

Type { data: string, options: IExportOptions[""] }

getExcel

Type { data: string, options: IExportOptions[""] }

getHTML

Type { data: string, options: IExportOptions[""] }

getJSON

Type { data: string, options: IExportOptions[""] }

getSVG

Type { data: string, options: IExportOptions[""] }

isDateField

Type { field: string, isDateField: boolean }

isDurationField

Type { field: string, isDurationField: boolean }

isNumberField

Type { field: string, isNumberField: boolean }

normalizeSVG

Type { data: string, options: IExportOptions[""] }

numberFields

Type { numberFields: any }

numberFormat

Type { numberFormat: $type.Optional <string> }

numberFormatter

Type { numberFormatter: NumberFormatter }

options

Type { options: IExportOptions[""], type: Keys }

pdfmakeDocument

Type { doc: any, options: IExportOptions[""] }

pdfmakeTable

Type { options: IExportOptions[""], table: any }

sprite

Type { sprite: Sprite }

supported

Type { options: IExportOptions[""], supported: boolean, type: Keys }

svgToDataURI

Type { data: string, options: IExportOptions[""] }

timeoutMessage

Type { message: string }

title

Type { options: IExportOptions[""], title: $type.Optional <string> }

validateSprites

Type { validateSprites: Array <Sprite> }

xlsxSheetName

Type { name: string, xlsx: any }

xlsxWorkbook

Type { options: IExportOptions[""], workbook: any, xlsx: any }Since 4.9.28

xlsxWorkbookOptions

Type { options: any, xlsx: any }