@arolariu/components / ChartTooltip
Variable: ChartTooltip()
constChartTooltip: <TValue,TName>(outsideProps) =>Element=RechartsPrimitive.Tooltip
Defined in: components/ui/chart.tsx:108
The Tooltip component displays a floating box with data values when hovering over or clicking on chart elements.
It can be configured to show information for individual data points or for all points at a specific axis coordinate. The appearance and content of the tooltip can be customized via props.
Type Parameters
TValue
TValue extends ValueType
TName
TName extends NameType
Parameters
outsideProps
TooltipProps<TValue, TName>
Returns
Element
See
- Tooltip event type and shared prop wiki page
- Active index replacement when migrating from Recharts v2 to v3
Consumes
CartesianChartContext
Consumes
PolarChartContext
Consumes
TooltipEntrySettings