English
Interface: D3PSystemProjector
Defined in: core/coords.ts:81
Projections of a system, live (D3PCoordinateSystem) or frozen (D3PSystemSnapshot).
Methods
projectFrom()
ts
projectFrom(
point,
options?,
cache?
): D3PRangePoint | undefined;Defined in: core/coords.ts:90
Viewport point to range units. strict (default) returns undefined outside of the system; tools pass strict: false to keep following a drag that left it.
Parameters
point
options?
strict?
boolean
cache?
Returns
D3PRangePoint | undefined
projectTo()
ts
projectTo(
chart,
a,
b,
cache?
): D3PViewportPoint;Defined in: core/coords.ts:85
Range units to a viewport point.
Parameters
chart
a
number
b
number
cache?
Returns
ranges()
ts
ranges(chart): D3PSystemRanges;Defined in: core/coords.ts:83
Ranges of the scales of the first (x) and second (y) dimension.
Parameters
chart
Returns
wrap()
ts
wrap(
chart,
dim,
delta
): number;Defined in: core/coords.ts:92
Normalize a difference along a dimension (an angle wraps around).
Parameters
chart
dim
delta
number
Returns
number