Skip to content

Interface: D3PSeriesInterpolator() ​

Defined in: core/series.ts:418

The result of d3pInterpolateSeries: a function of t (0 to 1) that gives the points of a frame, with the keys of those points and the two lists it interpolates between.

ts
D3PSeriesInterpolator(t): D3PPixelPoint[];

Defined in: core/series.ts:419

The result of d3pInterpolateSeries: a function of t (0 to 1) that gives the points of a frame, with the keys of those points and the two lists it interpolates between.

Parameters ​

t ​

number

Returns ​

D3PPixelPoint[]

Properties ​

from ​

ts
from: number | D3PPlacedSeries;

Defined in: core/series.ts:423

What it moves from: a drawing, or the number of the baseline to grow from.


interpolatedFrom ​

ts
interpolatedFrom: D3PPixelPoint[];

Defined in: core/series.ts:427

The points it moves from, as long as interpolatedTo.


interpolatedTo ​

ts
interpolatedTo: D3PPixelPoint[];

Defined in: core/series.ts:429

The points it moves to, as long as interpolatedFrom.


keys ​

ts
keys: number[];

Defined in: core/series.ts:421

The key of each point of the frames, in the same order.


to ​

ts
to: D3PPlacedSeries;

Defined in: core/series.ts:425

What it moves to.