Documentation / @finchart/react / SyncX
Function: SyncX()
SyncX(
__namedParameters):null
Defined in: react/src/components/sync-x.tsx:70
Syncs the x range between containers — the wiring for a symbol comparison screen.
The only chart component that lives outside a container: the vocabulary inside assumes a single chart, so linking two or more lives outside. Does nothing with fewer than two live charts, and unlinks and relinks whenever the list changes — plotRef can't support this rewiring (the key-remount trap).
tsx
<SyncX plots={[primary, ...comparisons]} />Parameters
__namedParameters
Returns
null