Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / segments

Function: segments()

segments(values): number[][]

Contiguous runs of real values.

A NaN — nothing to total for that cell — BREAKS the line into two, which reads as missing data, which is exactly what it is. Joining across it would draw a trend that no row supports.

Parameters

values

readonly number[]

Returns

number[][]