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

Function updateStats

examples/candlestick-streaming/main.ts:530–535  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

528}
529
530function updateStats() {
531 document.getElementById('stat-fps')!.textContent = `${fps}`;
532 document.getElementById('stat-candles')!.textContent = data.length.toLocaleString();
533 document.getElementById('stat-ticks')!.textContent = `${ticksPerSec}/s`;
534 document.getElementById('stat-total-ticks')!.textContent = tickSimulator.getTickCount().toLocaleString();
535}
536
537init().catch(console.error);

Callers 4

initFunction · 0.85
switchTimeframeFunction · 0.85
switchCandleCountFunction · 0.85
updateLoopFunction · 0.85

Calls 1

getTickCountMethod · 0.80

Tested by

no test coverage detected