(x: number | null, source?: unknown)
| 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 |
no test coverage detected