class Series
devtools/src/metrics.ts:49
Members
constructor
- capacitynumber
- Undocumented
capacityreadonly
capacity: number
countaccessor
count() → number
drain
drain(out: Float64Array) → number
Copy the window into out, oldest first, and return how many were written.
Oldest-first because a plot reads left to right and the ring does not: the newest sample sits wherever the write cursor happens to be. Takes the buffer rather than returning one so the caller can keep it across frames.
- outFloat64Array
- Undocumented
push
push(value: number) → void
Non-finite samples are dropped. A single NaN otherwise poisons every statistic.
- valuenumber
- Undocumented
reset
reset() → void