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

Method appendData

src/ChartGPU.ts:55–55  ·  view source on GitHub ↗

* Appends new points to a cartesian series at runtime (streaming). * * For candlestick series, pass `OHLCDataPoint[]`. * For other cartesian series (line, area, bar, scatter), pass `DataPoint[]`. * Pie series are non-cartesian and are not supported by streaming append.

(seriesIndex: number, newPoints: DataPoint[] | OHLCDataPoint[])

Source from the content-addressed store, hash-verified

53 * Pie series are non-cartesian and are not supported by streaming append.
54 */
55 appendData(seriesIndex: number, newPoints: DataPoint[] | OHLCDataPoint[]): void;
56 resize(): void;
57 dispose(): void;
58 on(eventName: 'crosshairMove', callback: ChartGPUCrosshairMoveCallback): void;

Callers 6

appendDataFunction · 0.65
streamFrameFunction · 0.65
mainFunction · 0.65
handleTickFunction · 0.65
streamFrameFunction · 0.65
startStreamingFunction · 0.65

Implementers 1

ChartGPUWorkerProxysrc/worker/ChartGPUWorkerProxy.ts

Calls

no outgoing calls

Tested by

no test coverage detected