Skip to main content

Type Alias: SeriesKey<Row>

SeriesKey<Row> = { [K in keyof Row]-?: Row[K] extends readonly (number | null)[] | null | undefined ? K : never }[keyof Row] & keyof Row & string

Defined in: packages/sdvtables/src/spec.ts:24

The keys of Row whose values are arrays of numbers: the series an in-cell chart (sparkline, sparkbar) draws. A null entry (or any non-finite number: NaN, Infinity) is a gap; a missing or empty array leaves the cell blank.

Type Parameters​

Row​

Row