useActiveTooltipLabel

Returns the active tooltip label. The label is one of the values from the chart data, and is used to display in the tooltip content.

Returns undefined if there is no active user interaction or if used outside a chart context

Return value

number | string | undefined

ActiveLabel