Interface: EChartsHeadshotOptions
Defined in: packages/sdvplot/src/echarts.ts:78
withHeadshots options: the shared ones plus the axes (grid) the series draws on.
Extends
Properties
alpha?
optionalalpha?:number
Defined in: packages/sdvplot/src/_web.ts:53
Opacity in [0, 1]. Default 1.
Inherited from
embed?
optionalembed?:ReadonlyMap<string,string>
Defined in: packages/sdvplot/src/_web.ts:57
url → data URI map from embedSources, to inline the images.
Inherited from
height?
optionalheight?:number
Defined in: packages/sdvplot/src/_web.ts:51
Headshot height as a fraction of the plot area's height, in (0, 1]. Default 0.1.
Inherited from
idSystem?
optionalidSystem?:"espn"|"gsis"
Defined in: packages/sdvplot/src/_web.ts:55
What the player ids are: ESPN athlete ids, or nflverse gsis ids (needs loadGsis() first). Default "espn".
Inherited from
league
league:
"aaf"|"ahl"|"cfb"|"cricket"|"echl"|"mbb"|"milb"|"mlb"|"nba"|"nbagl"|"ncaa_baseball"|"ncaa_mhockey"|"ncaa_softball"|"ncaa_whockey"|"nfl"|"nhl"|"ohl"|"phf"|"pwhl"|"qmjhl"|"soccer"|"ufl"|"usfl"|"ushl"|"wbb"|"whl"|"wnba"|"xfl"
Defined in: packages/sdvplot/src/_web.ts:49
The league the teams (or players) belong to, e.g. "nfl".
Inherited from
player
player:
string
Defined in: packages/sdvplot/src/_web.ts:47
Name of the row column holding the player id.
Inherited from
x
x:
string
Defined in: packages/sdvplot/src/_web.ts:43
Name of the row column holding each headshot's x position.
Inherited from
xAxisIndex?
optionalxAxisIndex?:number
Defined in: packages/sdvplot/src/echarts.ts:80
The x axis (and so the grid) the headshots draw on. Default 0.
y
y:
string
Defined in: packages/sdvplot/src/_web.ts:45
Name of the row column holding each headshot's y position.
Inherited from
yAxisIndex?
optionalyAxisIndex?:number
Defined in: packages/sdvplot/src/echarts.ts:82
The y axis the headshots draw on. Default 0.
z?
optionalz?:number
Defined in: packages/sdvplot/src/echarts.ts:84
The series' z. Default 100 (above the caller's series).