English
Interface: D3PPolarGeometry
Defined in: core/coords.ts:342
The geometry of a polar system on a chart: center, radii, angle and the reach of the pointer, in pixels and radians.
Properties
a0
ts
a0: number;Defined in: core/coords.ts:352
Start angle in radians and direction (1 clockwise, -1 counter-clockwise).
cx
ts
cx: number;Defined in: core/coords.ts:344
X of the center, in pixels.
cy
ts
cy: number;Defined in: core/coords.ts:346
Y of the center, in pixels.
dir
ts
dir: -1 | 1;Defined in: core/coords.ts:354
Direction of the angle: 1 clockwise, -1 counter-clockwise.
R
ts
R: number;Defined in: core/coords.ts:348
Outer / inner radius in pixels.
r0
ts
r0: number;Defined in: core/coords.ts:350
Radius of the hole, in pixels (0 for a full disc).
reach
ts
reach: number;Defined in: core/coords.ts:358
Pixels beyond the outer radius that still count as over the system.
sweep
ts
sweep: number;Defined in: core/coords.ts:356
Angle covered, in radians (a full turn is 2 pi).