Skip to main content

Interface: LogoTickProps

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

<LogoTick> props: yours (the league, the logo size, ...), plus the tick label Victory hands its tickLabelComponent (x, y, text, the anchors, and VictoryLabel's other props), which you leave out.

Extends​

  • Shared

Properties​

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


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:48

The season the axis' teams are resolved for.


size?​

optional size?: number

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

The logo's height in px, 1 or more (Victory hands a tick label no plot height). Default 24.


text?​

optional text?: unknown

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

Set by Victory: the tick's label, the team (abbreviation, name or id; see idSystem).


textAnchor?​

optional textAnchor?: string

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

Set by Victory: which side of the anchor the label would run. VictoryLabel's default "start".


variant?​

optional variant?: Variant

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

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

Inherited from​

Shared.variant


verticalAnchor?​

optional verticalAnchor?: string

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

Set by Victory: which side of the anchor the label would hang. VictoryLabel's default "middle".


x?​

optional x?: number

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

Set by Victory: the label's anchor in px.


y?​

optional y?: number

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

Set by Victory: the label's anchor in px.