Constructors
constructor
-
Parameters
-
id: string | number
-
Default value options: PlotOptions = {}
Methods
plot
- plot(ctx: CanvasRenderingContext2D, scale: Scale): void
-
Parameters
-
ctx: CanvasRenderingContext2D
-
Returns void
setData
-
Parameters
-
data: any
-
Optional scale: Scale
setOption
- setOption(key: string, value: any): Plot
setOptions
- setOptions(options: any): Plot
Abstract base class for plots