Skip to main content

Interface: NivoLayerOptions

Defined in: packages/sdvplot/src/nivo.ts:104

logoLayer options.

Extends​

  • Shared

Properties​

alpha?​

optional alpha?: number

Defined in: packages/sdvplot/src/nivo.ts:93

Opacity in [0, 1]. Default 1.

Inherited from​

Shared.alpha


at?​

optional at?: "first" | "last" | "all"

Defined in: packages/sdvplot/src/nivo.ts:111

Which of a Bump series' points get a logo: "last" (default: the end of each line), "first" or "all".


embed?​

optional embed?: ReadonlyMap<string, string>

Defined in: packages/sdvplot/src/nivo.ts:101

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

Inherited from​

Shared.embed


height?​

optional height?: number

Defined in: packages/sdvplot/src/nivo.ts:109

Image height as a fraction of the plot area's height, in (0, 1] (nivo hands a layer the plot's innerHeight, so a px value is refused). Default 0.08.


idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/nivo.ts:97

How the team values are read. Default "auto".

Inherited from​

Shared.idSystem


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/nivo.ts:84

The league the teams belong to, e.g. "nfl".

Inherited from​

Shared.league


markType?​

optional markType?: MarkType

Defined in: packages/sdvplot/src/nivo.ts:99

"logo" (default) or "wordmark".

Inherited from​

Shared.markType


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/nivo.ts:91

A season (number or string) for every team, or the name of the field holding each one's season.

Inherited from​

Shared.season


team?​

optional team?: string

Defined in: packages/sdvplot/src/nivo.ts:89

The field holding the team (abbreviation, name or id; see idSystem): read from a Bump series' object or a SwarmPlot node's datum. Default: the series' or node's id. A Chord arc is read by its id (the chart's keys).

Inherited from​

Shared.team


variant?​

optional variant?: Variant

Defined in: packages/sdvplot/src/nivo.ts:95

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

Inherited from​

Shared.variant