Skip to main content

Interface: PlotlyAxisOptions

Defined in: packages/sdvplot/src/plotly.ts:441

withAxisLogos options: the shared ones plus the subplot axes.

Extends​

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.

Inherited from​

AxisOptions.embed


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.

Inherited from​

AxisOptions.height


idSystem?​

optional idSystem?: IdSystem

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

How the axis categories are read. Default "auto".

Inherited from​

AxisOptions.idSystem


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".

Inherited from​

AxisOptions.league


markType?​

optional markType?: MarkType

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

"logo" (default) or "wordmark".

Inherited from​

AxisOptions.markType


season?​

optional season?: SeasonInput

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

The season the axis' teams are resolved for.

Inherited from​

AxisOptions.season


variant?​

optional variant?: Variant

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

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

Inherited from​

AxisOptions.variant


xref?​

optional xref?: string

Defined in: packages/sdvplot/src/plotly.ts:443

The subplot's x axis, e.g. "x2". Default "x".


yref?​

optional yref?: string

Defined in: packages/sdvplot/src/plotly.ts:445

The subplot's y axis, e.g. "y2". Default "y".