Skip to content

Documentation / @finchart/core / index / DecimationPolicy

Interface: DecimationPolicy<T> ​

Defined in: packages/core/src/data/types.ts:392

How to decimate these points.

Can only be decided where the point type is known — OhlcAggregation is a DecimationStrategy<OHLC>, so it can't just go anywhere.

Anything omitted falls back in this order: a registration override, then the Series default, then the wiring's default.

Type Parameters ​

T ​

T extends BaseDataPoint = BaseDataPoint

Properties ​

pointsPerPixel? ​

optional pointsPerPixel?: number

Defined in: packages/core/src/data/types.ts:396

Target points per pixel. If omitted, the wiring decides (default 4).


strategy? ​

optional strategy?: DecimationStrategy<T>

Defined in: packages/core/src/data/types.ts:394

How to decimate. If omitted, the wiring decides (M4Decimation).