English
Interface: D3PAxisProjector
Defined in: core/axis.ts:97
Projections of an axis, live (D3PAxis) or frozen (D3PAxisSnapshot).
Methods
projectFrom()
ts
projectFrom(
point,
options?,
cache?
): D3PDomainValue | undefined;Defined in: core/axis.ts:104
Viewport point to the domain value under it, through the system of the axis. undefined outside of the system (unless strict is false) or between the bands of a band scale.
Parameters
point
options?
strict?
boolean
cache?
Returns
D3PDomainValue | undefined
projectTo()
ts
projectTo(
chart,
value,
cache?
): number | undefined;Defined in: core/axis.ts:99
Domain value to its position in range units (centered in the band of a band scale).
Parameters
chart
value
cache?
Returns
number | undefined