Interface: UnovisTeamColorScale()<T>
Defined in: packages/sdvplot/src/unovis.ts:71
A team's colour: call it from a Unovis colour accessor with the team value the datum holds.
Type Parameters
T
T = unknown
UnovisTeamColorScale(
team):string
Defined in: packages/sdvplot/src/unovis.ts:73
The colour of team: its own for a team of the domain (by any value naming it), else fallback.
Parameters
team
unknown
Returns
string
Properties
domain
readonlydomain: readonlyT[]
Defined in: packages/sdvplot/src/unovis.ts:75
The team values exactly as given (numbers stay numbers), each once and in order.
range
readonlyrange: readonlystring[]
Defined in: packages/sdvplot/src/unovis.ts:77
Their colours, in the same order.