Skip to main content

Interface: LogoPointProps

Defined in: packages/sdvplot/src/react/victory.tsx:24

<LogoPoint> props: yours (the league, the datum field holding the team, ...), plus the point Victory hands its dataComponent (x, y, size, datum, events), which you leave out.

Extends​

  • Shared

Properties​

alpha?​

optional alpha?: number

Defined in: packages/sdvplot/src/react/victory.tsx:30

Opacity in [0, 1]. Default 1.


datum?​

optional datum?: object

Defined in: packages/sdvplot/src/react/victory.tsx:38

Set by Victory: the data row the point was drawn from.


embed?​

optional embed?: ReadonlyMap<string, string>

Defined in: packages/sdvplot/src/react/victory.tsx:18

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

Inherited from​

Shared.embed


events?​

optional events?: object

Defined in: packages/sdvplot/src/react/victory.tsx:40

Set by Victory: the point's event handlers (tooltips, voronoi, your events).


idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/react/victory.tsx:14

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/react/victory.tsx:10

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

Inherited from​

Shared.league


markType?​

optional markType?: MarkType

Defined in: packages/sdvplot/src/react/victory.tsx:16

"logo" (default) or "wordmark".

Inherited from​

Shared.markType


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/react/victory.tsx:28

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


size?​

optional size?: number

Defined in: packages/sdvplot/src/react/victory.tsx:36

Set by Victory: the point's radius in px (the scatter's size). The logo is twice it tall.


team​

team: string

Defined in: packages/sdvplot/src/react/victory.tsx:26

The field of each datum (each data row) holding the team: abbreviation, name or id (see idSystem).


variant?​

optional variant?: Variant

Defined in: packages/sdvplot/src/react/victory.tsx:12

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

Inherited from​

Shared.variant


x?​

optional x?: number

Defined in: packages/sdvplot/src/react/victory.tsx:32

Set by Victory: the point's centre in px.


y?​

optional y?: number

Defined in: packages/sdvplot/src/react/victory.tsx:34

Set by Victory: the point's centre in px.