Class BaseChart<TOptions>
Constructors
constructor
- new BaseChart(dom: HTMLDivElement | HTMLCanvasElement, options: TOptions): BaseChart
-
Parameters
-
dom: HTMLDivElement | HTMLCanvasElement
-
options: TOptions
Properties
Protected chart
chart: any
Protected options
options: TOptions
Methods
Protected getColor
- getColor(key: string, index: number): string
-
Parameters
-
key: string
-
index: number
Returns string
Protected getLegendOptions
Protected getTextStyle
- getTextStyle(currentNodeOptions: any): any
Protected getTitleOptions
Protected getToolboxOptions
Protected Abstract render
rerender
- rerender(options: TOptions): void