Represents chart provider.
Index
Methods
- canDraw
- draw
- getProviderType
- getSupportedChartTypes
- init
- setChartType
- setDataColumns
- setLabelColumn
- updateChartColumns
Methods
canDraw
▸ canDraw(): boolean
Returns boolean
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:
- newChartType: ChartType
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