Skip to main content

Interface: EChartsAxisOptions

Defined in: packages/sdvplot/src/echarts.ts:223

withAxisLogos options: the shared ones plus which axis and the canvas height.

Extends​

Properties​

axisIndex?​

optional axisIndex?: number

Defined in: packages/sdvplot/src/echarts.ts:225

Which x (or y) axis, for an option with several. Default 0.


chartHeight?​

optional chartHeight?: number

Defined in: packages/sdvplot/src/echarts.ts:228

The canvas height in px (an option has none). With the axis' grid it gives the plot-area height that height is a fraction of. Default 400.


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