Skip to main content

Function: prepareTiers()

prepareTiers(rows, league, o?): Tiers

Defined in: packages/sdvplot/src/tiers.ts:85

Port of sdvplot._tiers.prepare: validate the rows and compute everything a tier plot draws.

Parameters​

rows​

readonly TierRow[]

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"

o?​

TiersOptions = {}

Returns​

Tiers