(sourceChart: ChartGPU, x: number | null)
| 17 | const unsubscribeFns: Array<() => void> = []; |
| 18 | |
| 19 | const broadcast = (sourceChart: ChartGPU, x: number | null): void => { |
| 20 | for (const chart of charts) { |
| 21 | if (chart === sourceChart) continue; |
| 22 | if (chart.disposed) continue; |
| 23 | chart.setCrosshairX(x, connectionToken); |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | for (const chart of charts) { |
| 28 | if (chart.disposed) continue; |
no test coverage detected