MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / appendSeries

Method appendSeries

src/data/createDataStore.ts:19–19  ·  view source on GitHub ↗

* Appends new points to an existing series without re-uploading the entire buffer when possible. * * - Reuses the same geometric growth policy as `setSeries`. * - When no reallocation is needed, writes only the appended byte range via `queue.writeBuffer(...)`. * - Maintains `pointCount`

(index: number, newPoints: ReadonlyArray<DataPoint>)

Source from the content-addressed store, hash-verified

17 * Throws if the series has not been set yet.
18 */
19 appendSeries(index: number, newPoints: ReadonlyArray<DataPoint>): void;
20 removeSeries(index: number): void;
21 getSeriesBuffer(index: number): GPUBuffer;
22 /**

Callers 2

flushPendingAppendsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected