Skip to content

Interface: D3PRendererChartData<G> ​

Defined in: core/renderers/base.ts:66

What a renderer keeps for a chart: the axes it found, its subscriptions to their scales, the pending request for a transition, and its own state.

Type Parameters ​

G ​

G = unknown

Properties ​

added? ​

ts
added?: boolean;

Defined in: core/renderers/base.ts:78

chartAdded completed (so chartRemoved has something to undo).


axisSubs ​

ts
axisSubs: Map<D3PAxis, D3PUnsubscribe>;

Defined in: core/renderers/base.ts:74

Subscribed scaleChanged listeners by axis.


data ​

ts
data: G;

Defined in: core/renderers/base.ts:76

Renderer-specific state.


transition ​

ts
transition: boolean | null;

Defined in: core/renderers/base.ts:68

null = no request, true = animate, false = a non-animated request is in the batch.


x? ​

ts
x?: D3PAxis;

Defined in: core/renderers/base.ts:70

The X axis the renderer drew against.


y? ​

ts
y?: D3PAxis;

Defined in: core/renderers/base.ts:72

The Y axis the renderer drew against.