Skip to content

ChartAnnotation

stable

Persistent inline chart marker for agent-noted anomalies, threshold crossings, or notable observations with semantic color coding

import { ChartAnnotation } from "@nodus/design-system/patterns"
Loading demo…

Props

typerequired
Type AnnotationTypeDefault

anomaly | threshold | observation

labelrequired
Type stringDefault

Short annotation label

description
Type stringDefault

Extended detail shown on expand

x
Type string | numberDefault

Horizontal position (pixel or data key)

y
Type numberDefault

Vertical position in pixels from top

lastAnalyzedAt
Type stringDefault

ISO — when the agent produced this annotation. Used to derive staleness.

stalenessThresholdMs
Type numberDefault 3600000

Staleness threshold in ms (default 1h). Stale annotations show a gold ring.

staleAnalysisAge
Type stringDefault

Pre-formatted age override (e.g. '4h 12m') — bypasses lastAnalyzedAt calculation.

Metadatasemantictypeborderviz
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?