Skip to main content

Interface: AxisOptions

Defined in: packages/sdvplot/src/_web.ts:60

Options of withAxisLogos: the categories of the axis are the teams.

Extended by​

Properties​

embed?​

optional embed?: ReadonlyMap<string, string>

Defined in: packages/sdvplot/src/_web.ts:74

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


height?​

optional height?: number

Defined in: packages/sdvplot/src/_web.ts:66

Image height as a fraction of the plot area's height, in (0, 1]. Default 0.1.


idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/_web.ts:72

How the axis categories 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:62

The league the teams (or players) belong to, e.g. "nfl".


markType?​

optional markType?: MarkType

Defined in: packages/sdvplot/src/_web.ts:70

"logo" (default) or "wordmark".


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/_web.ts:64

The season the axis' teams are resolved for.


variant?​

optional variant?: Variant

Defined in: packages/sdvplot/src/_web.ts:68

Logo variant, e.g. "dark". Default "default".