Interface: MarkOptions
Defined in: packages/sdvplot/src/_web.ts:18
Options of withLogos / withWordmarks (each adapter adds its own subplot options).
Extended by
Properties
alpha?
optionalalpha?:number
Defined in: packages/sdvplot/src/_web.ts:32
Opacity in [0, 1]. Default 1.
embed?
optionalembed?:ReadonlyMap<string,string>
Defined in: packages/sdvplot/src/_web.ts:38
url → data URI map from embedSources, to inline the images.
height?
optionalheight?:number
Defined in: packages/sdvplot/src/_web.ts:30
Mark height as a fraction of the plot area's height, in (0, 1]. Default 0.1.
idSystem?
optionalidSystem?:IdSystem
Defined in: packages/sdvplot/src/_web.ts:36
How the team values are read. Default "auto".
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:26
The league the teams (or players) belong to, e.g. "nfl".
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/_web.ts:28
A season (number or string) for every row, or the name of a row column holding each row's season.
team
team:
string
Defined in: packages/sdvplot/src/_web.ts:24
Name of the row column holding the team (abbreviation, name or id; see idSystem).
variant?
optionalvariant?:Variant
Defined in: packages/sdvplot/src/_web.ts:34
Logo variant, e.g. "dark". Default "default".
x
x:
string
Defined in: packages/sdvplot/src/_web.ts:20
Name of the row column holding each mark's x position.
y
y:
string
Defined in: packages/sdvplot/src/_web.ts:22
Name of the row column holding each mark's y position.