Skip to main content

Interface: ShootingSignatureOptions

Defined in: packages/sdvplot/src/plot/shots.ts:399

Options for shootingSignature.

Properties​

curve?​

optional curve?: "monotone-x" | "basis"

Defined in: packages/sdvplot/src/plot/shots.ts:403

"monotone-x" (default, main) or "basis" (master ShootingSignature/index.js:96).


fill?​

optional fill?: DiffScale

Defined in: packages/sdvplot/src/plot/shots.ts:401

Colour of colourDiff; default diffScale().


halfWidth?​

optional halfWidth?: (p, maxShare) => number

Defined in: packages/sdvplot/src/plot/shots.ts:409

Ribbon half-width in y units. Default main's 20 px at the busiest distance on its 190 px [0, 1] axis, never under 0.75 px (shootingSignature.ts:13-15, :131-132): max(share / maxShare * 20, 0.75) / 190. master: (p) => (1 + p.share * 199) / 200 (ShootingSignature/index.js:73-75, :88-90).

Parameters​

p​

SignaturePoint

maxShare​

number

Returns​

number


league?​

optional league?: boolean

Defined in: packages/sdvplot/src/plot/shots.ts:411

The dashed league line, faint everywhere and full strength under the ribbon (:165-181); default true.


tip?​

optional tip?: boolean | TipOptions

Defined in: packages/sdvplot/src/plot/shots.ts:416

A tip that follows the pointer along x: distance, FG%, league FG% and shot share (Plot.tip + Plot.pointerX). An options object's format overrides sdvplot's key by key.