Interface: G2AxisOptions
Defined in: packages/sdvplot/src/g2.ts:264
axisLogos options: the axis' categories are the teams.
Properties
embed?
optionalembed?:ReadonlyMap<string,string>
Defined in: packages/sdvplot/src/g2.ts:278
url → data URI map from embedSources, to inline the images.
idSystem?
optionalidSystem?:IdSystem
Defined in: packages/sdvplot/src/g2.ts:276
How the axis categories are read. Default "auto".
league
league:
"aaf"|"ahl"|"ajhl"|"bchl"|"cchl"|"cebl"|"cfb"|"cfl"|"chl"|"cricket"|"easl"|"echl"|"f1"|"fiba"|"gojhl"|"iihf"|"kijhl"|"lba"|"mbb"|"mhl"|"milb"|"mjhl"|"mlb"|"nba"|"nbagl"|"nbl"|"ncaa_baseball"|"ncaa_mhockey"|"ncaa_softball"|"ncaa_whockey"|"nfl"|"nhl"|"nojhl"|"ohl"|"ojhl"|"phf"|"pwhl"|"qmjhl"|"sjhl"|"soccer"|"sphl"|"ufl"|"usfl"|"ushl"|"vijhl"|"wbb"|"whl"|"wnba"|"xfl"
Defined in: packages/sdvplot/src/g2.ts:266
The league the teams belong to, e.g. "nfl".
markType?
optionalmarkType?:MarkType
Defined in: packages/sdvplot/src/g2.ts:274
"logo" (default) or "wordmark".
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/g2.ts:268
The season the axis' teams are resolved for.
size?
optionalsize?:number
Defined in: packages/sdvplot/src/g2.ts:270
Image height in px, 1 or more. Default 24.
variant?
optionalvariant?:Variant
Defined in: packages/sdvplot/src/g2.ts:272
Logo variant, e.g. "dark". Default "default".