Skip to content

LTTBPoint

Defined in: perf/lttb.ts:11

Largest-Triangle-Three-Buckets (LTTB) downsampling.

Reduces N data points to target points while preserving the visual shape of the line. O(n) time, O(target) space.

Reference: Sveinn Steinarsson, “Downsampling Time Series for Visual Representation” (2013).

Properties

originalIndex

originalIndex: number

Defined in: perf/lttb.ts:15

Original index in the source array


x

x: number

Defined in: perf/lttb.ts:12


y

y: number

Defined in: perf/lttb.ts:13