Table of Contents

**@arolariu/components**


@arolariu/components / ChartTooltip

Variable: ChartTooltip()

const ChartTooltip: <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

Consumes

CartesianChartContext

Consumes

PolarChartContext

Consumes

TooltipEntrySettings