Tooltip
import { Tooltip } from '@wick-charts/react'; <Tooltip sort='desc'> {({ snapshots, time }) => ( <div>{snapshots[0]?.data.value}</div> )}</Tooltip>Floating near-cursor glass tooltip that appears while hovering the chart.
Hover-only: without a crosshair position, the component renders null. The companion InfoBar shows last-known values when no hover is active.
Floating glass panel that appears on hover, showing per-series snapshots at the crosshair time. Use the render-prop child to replace the panel contents while keeping the positioned container (with flip/clamp).
Props
Render prop
// children: (ctx: TooltipRenderContext) => ReactNode<Tooltip> {({ snapshots, time }) => ( <div>{snapshots[0]?.data.value}</div> )}</Tooltip>