Series Data Structures & Streaming
Data input formats, TypedArray buffers, real-time push/append, circular ring buffers, and batch updates.
QuaCharts accepts both high-level developer-friendly JSON arrays and ultra-fast TypedArray buffers (Float64Array, Float32Array). The internal DataStore normalizes representations into columnar structures for fast SIMD processing and minimal garbage collection pressure.
Accepted Data Shapes
Real-Time Streaming: append vs update
For tick-by-tick streaming, avoid re-passing the entire array. Use series.append() to push new points into the internal ring buffer without triggering full array reallocation:
Circular Ring Buffers
Configure bufferCapacity: 10000 on high-frequency streaming series. The chart will automatically overwrite the oldest elements in O(1) time without triggering JavaScript V8 garbage collector pauses.