Skip to main content

Interface: MuiHeadshotOptions

Defined in: packages/sdvplot/src/mui.ts:235

headshotMarker options.

Extends​

  • Shared

Properties​

alpha?​

optional alpha?: number

Defined in: packages/sdvplot/src/mui.ts:213

Opacity in [0, 1]. Default 1. MUI's faded points (another series highlighted) draw at 0.3 of it.

Inherited from​

Shared.alpha


embed?​

optional embed?: ReadonlyMap<string, string>

Defined in: packages/sdvplot/src/mui.ts:215

url → data URI map from embedSources, to inline the images.

Inherited from​

Shared.embed


idSystem?​

optional idSystem?: HeadshotIdSystem

Defined in: packages/sdvplot/src/mui.ts:241

ESPN athlete ids, or nflverse gsis ids (needs loadGsis() first). Default "espn".


league​

league: "cfb" | "mbb" | "mlb" | "nba" | "nfl" | "nhl" | "wbb" | "wnba"

Defined in: packages/sdvplot/src/mui.ts:239

The league the players belong to, e.g. "nfl".


players​

players: MuiPointValues

Defined in: packages/sdvplot/src/mui.ts:237

The player of each data point: players[i] is point i's.