Variable: ChartTooltip
@arolariu/components / ChartTooltip
Variable: ChartTooltip
constChartTooltip: (outsideProps) =>Element=RechartsPrimitive.Tooltip
Defined in: components/ui/chart.tsx:234
Re-exports the Recharts tooltip primitive for use with shared chart helpers.
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.
Parameters
outsideProps
TooltipProps<ValueType, NameType>
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
Remarks
- Renders the Recharts tooltip container
- Built on
recharts
Example
<ChartTooltip content={<ChartTooltipContent />} />
See
// was this page useful?