Skip to content

Documentation / @finchart/react / Tooltip

Function: Tooltip() ​

Tooltip(__namedParameters): null

Defined in: react/src/components/tooltip.tsx:29

Follows the cursor and shows the series values at that x.

tsx
<Tooltip formatX={dateLabel} />

Each row's name and color come from the series component's name and color props. Doesn't rebuild when the format function's reference changes — just re-applies the options.

Parameters ​

__namedParameters ​

TooltipProps

Returns ​

null