Skip to content

ChartTooltip

stable

Recharts-compatible tooltip that distinguishes user-selected vs. agent-highlighted data points with semantic color treatment

datavizInteractive/Storybook ↗
import { ChartTooltip } from "@nodus/design-system/patterns"
Loading demo…

Props

fieldsrequired
Type TooltipField[]Default

Data fields to display in tooltip

source
Type TooltipSourceDefault "user"

user | agent — drives header color and label

title
Type stringDefault

Tooltip header line

timestamp
Type stringDefault

Timestamp label for the hovered point

staleAnalysisAge
Type stringDefault

When source=agent, shows a gold stale warning row (e.g. '4h 12m'). Does not affect data display.

Metadatasemantictypebordermotionviz
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?