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

Function handleClear

examples/worker-rendering/main.ts:679–689  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

677}
678
679function handleClear(): void {
680 stopStreaming();
681 disposeChart();
682 clearMetricsDisplay();
683 state.totalPointsGenerated = 0;
684
685 // Reset display to show input-based calculation
686 updateTotalPointsDisplay();
687
688 showStatus('Cleared', 'success');
689}
690
691function handleEmergencyStop(): void {
692 stopStreaming();

Callers

nothing calls this directly

Calls 5

clearMetricsDisplayFunction · 0.85
updateTotalPointsDisplayFunction · 0.85
showStatusFunction · 0.85
stopStreamingFunction · 0.70
disposeChartFunction · 0.70

Tested by

no test coverage detected