Skip to content

Documentation / @finchart/react / SyncCrosshair

Function: SyncCrosshair() ​

SyncCrosshair(__namedParameters): null

Defined in: react/src/components/sync-x.tsx:100

Syncs the cursor's time — the hovered chart's timestamp shows up on the other charts as a ghost cursor (a vertical line + x badge). Same contract as <SyncX>: relinks when the list changes. Usually placed alongside each other.

tsx
<SyncX plots={plots} />
<SyncCrosshair plots={plots} />

Parameters ​

__namedParameters ​

SyncXProps

Returns ​

null