Expand description
Single-call computation of all chart statistical overlays for one WASM boundary crossing.
Structsยง
- Chart
Overlay View - Pre-computed chart overlay data returned across the WASM boundary.
- Scatter
Overlay View - Pre-computed scatter overlay (mean lines + regression segment); when
validis false the numeric fields are zeros.
Constantsยง
- EMPTY_
SCATTER ๐ - HALF_
WINDOW_ ๐DIVISOR - MIN_
POINTS_ ๐FOR_ REGRESSION - MIN_
SAMPLES_ ๐FOR_ STD_ DEV - PERCENTILE_
25 ๐ - PERCENTILE_
50 ๐ - PERCENTILE_
75 ๐ - PERCENTILE_
99 ๐ - SMA_
WINDOW ๐
Functionsยง
- centered_
sma ๐ - compute_
chart_ overlay - Compute all chart overlay statistics in one call.
- compute_
scatter_ overlay - Compute scatter overlay statistics from paired (x, y) values; non-finite pairs are dropped,
valid: falseif too few pairs remain or xs are identical.