Skip to main content

Interface: TanstackColorScale<T>

Defined in: packages/sdvplot/src/tanstack.ts:67

TanStack's color option (ChartColorOptions) as an ordinal map from each team value to its colour.

Type Parameters​

T​

T = unknown

Properties​

domain​

domain: T[]

Defined in: packages/sdvplot/src/tanstack.ts:69

The team values exactly as the data holds them (numbers stay numbers), each once and in order.


range​

range: string[]

Defined in: packages/sdvplot/src/tanstack.ts:71

Their colours, in the same order.