Static Method Summary
Static Protected Methods | ||
protected static |
configure(options: *): * Checks and updates gauge options properly |
Constructor Summary
Public Constructor | ||
public |
constructor(options: LinearGaugeOptions) |
Member Summary
Public Members | ||
public |
drawBox: * |
Method Summary
Public Methods | ||
public |
draw(): LinearGauge Triggering linear gauge render on a canvas. |
Inherited Summary
From class BaseGauge | ||
public static get |
Returns gauges version string |
|
public static |
ensureValue(value: *, min: number): number Ensures value is proper number |
|
public static |
fromElement(element: HTMLElement) Initializes gauge from a given HTML element (given element should be valid HTML canvas gauge definition) |
|
public static |
initialize(type: string, options: GenericOptions): * Inject given gauge object into DOM |
|
public static |
Corrects javascript modulus bug |
|
protected static |
Updates gauge options |
|
public get |
Returns current value of the gauge |
|
public set |
Sets new value for this gauge. |
|
public |
|
|
public |
|
|
public |
True if gauge has been drawn for the first time, false otherwise. |
|
public |
Gauge options |
|
public |
Gauge type class |
|
public |
Gauges version string |
|
public |
destroy() Performs destruction of this object properly |
|
public abstract |
Triggering gauge render on a canvas. |
|
public |
update(options: RadialGaugeOptions): BaseGauge Updates gauge configuration options at runtime and redraws the gauge |
Static Protected Methods
protected static configure(options: *): * source
Checks and updates gauge options properly
Override:
BaseGauge#configureParams:
Name | Type | Attribute | Description |
options | * |
Return:
* |
Public Constructors
public constructor(options: LinearGaugeOptions) source
Override:
BaseGauge#constructorParams:
Name | Type | Attribute | Description |
options | LinearGaugeOptions |
Public Members
public drawBox: * source
Public Methods
public draw(): LinearGauge source
Triggering linear gauge render on a canvas.