Skip to content

lttbDownsample

lttbDownsample(data, target): LTTBPoint[]

Defined in: perf/lttb.ts:95

Downsample a number array to target points, returning the downsampled values and their original indices.

number[]

number

LTTBPoint[]