Skip to main content

Interface: TitleImageOptions

Defined in: packages/sdvplot/src/plot/title.ts:6

Properties​

height?​

optional height?: number

Defined in: packages/sdvplot/src/plot/title.ts:15

Pixels (unlike the marks' fraction of the plot height); at least 1, default 24.


image​

image: Value

Defined in: packages/sdvplot/src/plot/title.ts:8

A team (resolved in league), or an https image URL when league is not given.


league?​

optional 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/plot/title.ts:9


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/plot/title.ts:10


side?​

optional side?: "left" | "right"

Defined in: packages/sdvplot/src/plot/title.ts:13


title?​

optional title?: string

Defined in: packages/sdvplot/src/plot/title.ts:12

Required when figure is a bare <svg>: it becomes the new <h2>.