English
Interface: D3PAxisDrawContext
Defined in: core/axis-renderer.ts:15
What an axis renderer is given to draw: the axis, the chart, the system, the scale, the group to draw in, the grid group, the offset and the props.
Properties
axis
ts
readonly axis: D3PAxis;Defined in: core/axis-renderer.ts:17
The axis to draw.
chart
ts
readonly chart: D3PChart;Defined in: core/axis-renderer.ts:19
The chart it is drawn on.
gridGroup
ts
readonly gridGroup: Sel | undefined;Defined in: core/axis-renderer.ts:27
Present when the grid is enabled in the axis props.
group
ts
readonly group: Sel;Defined in: core/axis-renderer.ts:25
The group to draw the axis in.
offset
ts
readonly offset: number;Defined in: core/axis-renderer.ts:29
Distance from the plot, outward (see the axis' offset option): cartesian axes stacked on one side.
props
ts
readonly props: D3PProps<D3PAxisProps>;Defined in: core/axis-renderer.ts:31
The props of the axis: ticks, format, grid.
scale
ts
readonly scale: D3PScale;Defined in: core/axis-renderer.ts:23
Scale of the axis on this chart (synchronized with its domain).
system
ts
readonly system: D3PCoordinateSystem;Defined in: core/axis-renderer.ts:21
The coordinate system of the axis.