Skip to main content

Interface: ChartSurfaceOptions

Defined in: packages/sdvplot/src/chartjs-surface.ts:14

Extends​

  • SurfaceSceneOptions

Properties​

arcResolution?​

optional arcResolution?: number

Defined in: packages/sdvplot/src/surfaces.ts:224

Inherited from​

SurfaceSceneOptions.arcResolution


colorUpdates?​

optional colorUpdates?: Partial<Record<AnyColorKey, string>>

Defined in: packages/sdvplot/src/surfaces.ts:206

Overrides on top of the team painting, keyed by sporty colour key.

Inherited from​

SurfaceSceneOptions.colorUpdates


displayRange?​

optional displayRange?: AnyRange

Defined in: packages/sdvplot/src/surfaces.ts:209

A sporty display range for the league's sport; one the sport does not know throws sporty's UnknownDisplayRangeError.

Inherited from​

SurfaceSceneOptions.displayRange


rotation?​

optional rotation?: number

Defined in: packages/sdvplot/src/surfaces.ts:207

Inherited from​

SurfaceSceneOptions.rotation


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/surfaces.ts:204

Inherited from​

SurfaceSceneOptions.season


team?​

optional team?: Value

Defined in: packages/sdvplot/src/surfaces.ts:203

A team of the league, painting the surface; only for keys that are sdv team leagues (otherwise InputError).

Inherited from​

SurfaceSceneOptions.team


units?​

optional units?: "m" | "ft" | "yd" | "in" | "cm" | "mm"

Defined in: packages/sdvplot/src/surfaces.ts:212

Inherited from​

SurfaceSceneOptions.units


updates?​

optional updates?: BaseballParamUpdates & BasketballParamUpdates & CurlingParamUpdates & FootballParamUpdates & HockeyParamUpdates & LacrosseParamUpdates & SoccerParamUpdates & SoftballParamUpdates & TennisParamUpdates & VolleyballParamUpdates

Defined in: packages/sdvplot/src/surfaces.ts:214

Sporty parameter overrides (intersected across sports so each sport's own keys type-check).

Inherited from​

SurfaceSceneOptions.updates


xAxisID?​

optional xAxisID?: string

Defined in: packages/sdvplot/src/chartjs-surface.ts:16

The linear x scale's id (default "x").


xlim?​

optional xlim?: readonly [number, number]

Defined in: packages/sdvplot/src/surfaces.ts:210

Inherited from​

SurfaceSceneOptions.xlim


xTrans?​

optional xTrans?: number

Defined in: packages/sdvplot/src/surfaces.ts:225

Inherited from​

SurfaceSceneOptions.xTrans


yAxisID?​

optional yAxisID?: string

Defined in: packages/sdvplot/src/chartjs-surface.ts:18

The linear y scale's id (default "y").


ylim?​

optional ylim?: readonly [number, number]

Defined in: packages/sdvplot/src/surfaces.ts:211

Inherited from​

SurfaceSceneOptions.ylim


yTrans?​

optional yTrans?: number

Defined in: packages/sdvplot/src/surfaces.ts:226

Inherited from​

SurfaceSceneOptions.yTrans