Skip to main content

Interface: AxisLogoOptions

Defined in: packages/sdvplot/src/chartjs.ts:406

Properties​

idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/chartjs.ts:413


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/chartjs.ts:407


loadImage?​

optional loadImage?: (url) => Promise<ImageLike>

Defined in: packages/sdvplot/src/chartjs.ts:420

Loads each image instead of a DOM image element, so this also runs in Node: pass @napi-rs/canvas's loadImage. See ImageLike.

Parameters​

url​

string

Returns​

Promise<ImageLike>


markType?​

optional markType?: "logo" | "wordmark"

Defined in: packages/sdvplot/src/chartjs.ts:412


scaleId?​

optional scaleId?: string

Defined in: packages/sdvplot/src/chartjs.ts:415

The category scale's id (default: the axis letter).


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/chartjs.ts:410


size?​

optional size?: number

Defined in: packages/sdvplot/src/chartjs.ts:409

Image height in px (default 24); the width follows the mark's aspect.


variant?​

optional variant?: Variant

Defined in: packages/sdvplot/src/chartjs.ts:411