Skip to content

Interface: D3PAxisAttachContext ​

Defined in: core/axis-renderer.ts:37

What an axis renderer is given when its axis joins a chart: the axis, the chart, the system, the subscriptions to release, and a function that asks for a redraw.

Properties ​

axis ​

ts
readonly axis: D3PAxis;

Defined in: core/axis-renderer.ts:39

The axis that joins the chart.


chart ​

ts
readonly chart: D3PChart;

Defined in: core/axis-renderer.ts:41

The chart it joined.


redraw ​

ts
readonly redraw: () => void;

Defined in: core/axis-renderer.ts:47

Ask for a redraw of the axis on this chart (batched with the others).

Returns ​

void


subs ​

ts
readonly subs: D3PSubscriptions;

Defined in: core/axis-renderer.ts:45

Released when the axis leaves the chart.


system ​

ts
readonly system: D3PCoordinateSystem;

Defined in: core/axis-renderer.ts:43

The coordinate system of the axis.