Interface: RechartsHeadshotOptions
Defined in: packages/sdvplot/src/recharts.ts:77
headshotDot options.
Extends
Shared
Properties
alpha?
optionalalpha?:number
Defined in: packages/sdvplot/src/recharts.ts:53
Opacity in [0, 1]. Default 1.
Inherited from
Shared.alpha
embed?
optionalembed?:ReadonlyMap<string,string>
Defined in: packages/sdvplot/src/recharts.ts:61
url → data URI map from embedSources, to inline the images.
Inherited from
Shared.embed
idSystem?
optionalidSystem?:HeadshotIdSystem
Defined in: packages/sdvplot/src/recharts.ts:83
ESPN athlete ids, or nflverse gsis ids (needs loadGsis() first). Default "espn".
last?
optionallast?:boolean
Defined in: packages/sdvplot/src/recharts.ts:59
Draw only at the series' last point: an end-dot on a trend line. Default false. It needs the series' points,
which Recharts hands a Line's or Area's dot but not a Scatter's shape: there every point is drawn, with one
warning.
Inherited from
Shared.last
league
league:
"cfb"|"mbb"|"mlb"|"nba"|"nfl"|"nhl"|"wbb"|"wnba"
Defined in: packages/sdvplot/src/recharts.ts:81
The league the players belong to, e.g. "nfl".
player
player:
string
Defined in: packages/sdvplot/src/recharts.ts:79
Name of the data row column holding the player id.
size?
optionalsize?:number
Defined in: packages/sdvplot/src/recharts.ts:51
Image height in px, 1 or more (Recharts hands a render prop no plot height to take a fraction of). Default 24.
Inherited from
Shared.size