Skip to content

CellSparkline

Defined in: src/core/document-model/types.ts:570

A sparkline: a mini chart filling the cell, plotting values (E-SHEET SC2). Format-neutral — the xlsx layer resolves the data range to a value sequence; the layout renders line / column / win-loss geometry sized to the cell.

readonly optional colorHex?: string

Defined in: src/core/document-model/types.ts:577


readonly kind: "line" | "column" | "winLoss"

Defined in: src/core/document-model/types.ts:571


readonly values: readonly (number | null)[]

Defined in: src/core/document-model/types.ts:576

A blank/non-numeric cell in the range is a gap (null) so x-positions stay aligned: a line breaks across it, a column/win-loss skips its slot.