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

Function bindCoordinatorInteractionXChange

src/ChartGPU.ts:756–764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

754 };
755
756 const bindCoordinatorInteractionXChange = (): void => {
757 unbindCoordinatorInteractionXChange();
758 if (disposed) return;
759 if (!coordinator) return;
760
761 unsubscribeCoordinatorInteractionXChange = coordinator.onInteractionXChange((x, source) => {
762 emit('crosshairMove', { x, source });
763 });
764 };
765
766 const recreateCoordinator = (): void => {
767 if (disposed) return;

Callers 1

recreateCoordinatorFunction · 0.85

Calls 3

emitFunction · 0.70
onInteractionXChangeMethod · 0.65

Tested by

no test coverage detected