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

Method setInteractionX

src/worker/ChartGPUWorkerProxy.ts:1534–1547  ·  view source on GitHub ↗
(x: number | null, source?: unknown)

Source from the content-addressed store, hash-verified

1532 }
1533
1534 setInteractionX(x: number | null, source?: unknown): void {
1535 if (this.isDisposed) {
1536 return; // Silent no-op for disposed charts
1537 }
1538
1539 this.cachedInteractionX = x;
1540
1541 this.sendMessage({
1542 type: 'setInteractionX',
1543 chartId: this.chartId,
1544 x,
1545 source: typeof source === 'string' ? source : undefined,
1546 });
1547 }
1548
1549 setCrosshairX(x: number | null, source?: unknown): void {
1550 // Alias for setInteractionX

Callers 1

setCrosshairXMethod · 0.95

Calls 1

sendMessageMethod · 0.95

Tested by

no test coverage detected