Dataset
Defined in: types/index.ts:113
A single named series of numeric values.
data.length must equal labels.length of the parent ResolvedData.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:string
Defined in: types/index.ts:119
Override the auto-assigned series colour.
colors?
Section titled “colors?”
optionalcolors?: (string|undefined)[]
Defined in: types/index.ts:125
Per-datum colour overrides, indexed in parallel with data. Sparse arrays
are fine — falsy entries fall back through the resolver chain
(colorFn → Dataset.color → theme palette).
data:
number[]
Defined in: types/index.ts:117
Series values, one per labels[] entry on the parent ResolvedData.
label:
string
Defined in: types/index.ts:115
Display name shown in legends and tooltips.