ChartProvider interface

Represents chart provider.

Index

Methods

Methods


draw

▸ draw(slot: HTMLElement): any

Parameters:

  • slot: HTMLElement

Returns any


getProviderType

▸ getProviderType(): any

Returns any


getSupportedChartTypes

▸ getSupportedChartTypes(): ChartType[]

Returns ChartType[]


init

▸ init(dataTable: EqDataTable,defaultType: ChartType,labelColumnIndex: number,dataColumnIndexes: number[]): any

Parameters:

  • dataTable: EqDataTable
  • defaultType: ChartType
  • labelColumnIndex: number
  • dataColumnIndexes: number[]

Returns any


setChartType

▸ setChartType(newChartType: ChartType): void

Parameters:

Returns void


setDataColumns

▸ setDataColumns(dataColumnIndexes: number[]): any

Parameters:

  • dataColumnIndexes: number[]

Returns any


setLabelColumn

▸ setLabelColumn(labelColumnIndex: number): void

Parameters:

  • labelColumnIndex: number

Returns void


updateChartColumns

▸ updateChartColumns(): any

Returns any