@feds01/graphika / core/axis-manager
core/axis-manager
Classes
default
Defined in: core/axis-manager.ts:18
Constructors
Constructor
ts
new default(graph): default;Defined in: core/axis-manager.ts:27
Parameters
| Parameter | Type |
|---|---|
graph | default |
Returns
Properties
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
data | readonly | Float64Array | undefined | core/axis-manager.ts:25 |
graph | readonly | default | undefined | core/axis-manager.ts:27 |
negativeScale | public | boolean | false | core/axis-manager.ts:24 |
scaleNumbers | public | { x: string[]; y: string[]; } | undefined | core/axis-manager.ts:21 |
scaleNumbers.x | public | string[] | undefined | core/axis-manager.ts:21 |
scaleNumbers.y | public | string[] | undefined | core/axis-manager.ts:21 |
sharedAxisZero | public | boolean | false | core/axis-manager.ts:23 |
xAxis | public | default | undefined | core/axis-manager.ts:19 |
yAxis | public | default | undefined | core/axis-manager.ts:20 |
Methods
draw()
ts
draw(): void;Defined in: core/axis-manager.ts:69
Method to draw on axis on the current graph. Takes into account graph settings and then invokes the draw method on the individual drawing methods for each axis.
Returns
void
getColour()
ts
getColour(): string;Defined in: core/axis-manager.ts:54
Returns
string