Interface: TeamColorOptions
Defined in: packages/sdvplot/src/plot/scales.ts:8
Properties
alpha?
optionalalpha?:number
Defined in: packages/sdvplot/src/plot/scales.ts:18
Opacity in [0, 1], appended as an 8-bit hex alpha to team colours only.
idSystem?
optionalidSystem?:IdSystem
Defined in: packages/sdvplot/src/plot/scales.ts:13
legend?
optionallegend?:boolean
Defined in: packages/sdvplot/src/plot/scales.ts:21
naValue?
optionalnaValue?:string
Defined in: packages/sdvplot/src/plot/scales.ts:16
Colour for values that resolve to no team; default "grey". Never gets alpha.
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/plot/scales.ts:12
Season for era-aware resolution; passing it avoids the ambiguity warning for reused abbreviations.
strict?
optionalstrict?:boolean
Defined in: packages/sdvplot/src/plot/scales.ts:14
values?
optionalvalues?: readonlyValue[]
Defined in: packages/sdvplot/src/plot/scales.ts:20
Domain = these distinct values; default every team_id and abbr of the league.
which?
optionalwhich?:Which
Defined in: packages/sdvplot/src/plot/scales.ts:10
"primary" (default) or "secondary".