import { PieTooltip } from '@wick-charts/react'; <PieTooltip seriesId='pie'> {({ info, format }) => ( <div>{info.label}: {format(info.value)}</div> )}</PieTooltip>Tooltip for pie/donut charts. Shows hovered slice label, value, and percentage.
Hover tooltip for <PieSeries>. Behaves like <Tooltip> but takes a seriesId and exposes the active slice in the render-prop.
Owning series id. Optional — when omitted, the first visible pie series is picked.
Custom formatter for the slice value. Default: shared formatCompact.
Render-prop escape hatch — receives hover info + format, replaces default UI.
// children: (ctx: PieTooltipRenderContext) => ReactNode<PieTooltip> {({ info, format }) => ( <div>{info.label}: {format(info.value)}</div> )}</PieTooltip>