English
Class: D3PRadiusAxisRenderer
Defined in: core/axis-renderer.ts:265
The radius axis: ticks along a spoke at a fixed angle, and a circle of grid per value.
Extends
Extended by
Constructors
Constructor
ts
new D3PRadiusAxisRenderer(opts?): D3PRadiusAxisRenderer;Defined in: core/axis-renderer.ts:273
Parameters
opts?
D3PRadiusAxisRendererOptions = {}
Returns
D3PRadiusAxisRenderer
Overrides
Methods
assertSystem()
ts
assertSystem(axis, system): void;Defined in: core/axis-renderer.ts:80
Checks the coordinate system the axis ended up in.
Parameters
axis
system
Returns
void
Inherited from
attach()?
ts
attach?(ctx): void;Defined in: core/axis-renderer.ts:89
Called when the axis joins a chart: subscribe to what the drawing depends on, and use redraw.
Parameters
ctx
Returns
void
Inherited from
bind()
ts
bind(axis): void;Defined in: core/axis-renderer.ts:67
Called by the axis when it is built with this renderer.
Parameters
axis
Returns
void
Inherited from
detach()?
ts
detach?(chart): void;Defined in: core/axis-renderer.ts:91
Called when the axis leaves a chart: release what attach took.
Parameters
chart
Returns
void
Inherited from
draw()
ts
draw(ctx): void;Defined in: core/axis-renderer.ts:284
Draws the radius axis: ticks along a spoke and a circle of grid for each value.
Parameters
ctx
Returns
void
Overrides
spokeAngle()
ts
protected spokeAngle(_chart, sys): number;Defined in: core/axis-renderer.ts:279
Screen angle (radians, 0 = up, clockwise) at which the spoke is drawn right now.
Parameters
_chart
sys
Returns
number
Properties
fixedAngle
ts
protected readonly fixedAngle: number | undefined;Defined in: core/axis-renderer.ts:271
The angle of the spoke, in degrees, if one was given.
name
ts
readonly name: string = 'D3PRadiusAxisRenderer';Defined in: core/axis-renderer.ts:267
The name of the renderer.
Overrides
positions
ts
readonly positions: readonly ["radius"];Defined in: core/axis-renderer.ts:268
The positions of axes the renderer can draw.
Overrides
systemKinds
ts
readonly systemKinds: readonly ["polar"];Defined in: core/axis-renderer.ts:269
The kinds of coordinate system the renderer can draw in (cartesian, polar).