Skip to main content

Interface: CellSizes

Defined in: packages/sdvplot/src/shots/aggregate.ts:236

sizeCells' result: each cell's size, the cap, the size of any count, and the counts for a size key.

Properties​

cap​

readonly cap: number

Defined in: packages/sdvplot/src/shots/aggregate.ts:240

Attempts at which size saturates.


r​

readonly r: readonly number[]

Defined in: packages/sdvplot/src/shots/aggregate.ts:238

Size per cell in legacy tenths: a hexagon's circumradius, or a square's side. 0 hides a cell.


size​

readonly size: (attempts) => number

Defined in: packages/sdvplot/src/shots/aggregate.ts:242

The size of any attempt count, for a size key.

Parameters​

attempts​

number

Returns​

number


steps​

readonly steps: readonly number[]

Defined in: packages/sdvplot/src/shots/aggregate.ts:247

A size key: minAttempts, half the cap, the cap (blazing-the-nets main lib/charts/hexShotChart.ts:199, which started at 1), without repeats.