Interface: TeamChartConfigItem
Defined in: packages/sdvplot/src/shadcn.ts:22
One team's entry in the config: shadcn's ChartConfig item with a theme (never a single color), so
<ChartStyle> writes the light colour under the chart and the dark one under .dark.
Properties
icon?
optionalicon?:ComponentType
Defined in: packages/sdvplot/src/shadcn.ts:28
The team's logo, at legend and tooltip size; absent when the team has no logo (shadcn draws its swatch).
label
label:
string
Defined in: packages/sdvplot/src/shadcn.ts:24
The team's name, e.g. "Kansas City Chiefs" (its own value when it does not resolve).
theme
theme:
object
Defined in: packages/sdvplot/src/shadcn.ts:26
The team's colour on a light chart and on a dark one, each 3:1 or more against that theme's background.
dark
dark:
string
light
light:
string