Extremes & observations / ANNOTATION GUIDE
valley
Detect local valleys within each ordered series, using prominence and observation spacing.
01 / EXPLORE
See it in action.
Compare parameter variations. Switch to Code to copy an example with the active theme.
02 / CONFIGURE
Make it yours.
Add this configuration to the annotations array in your chart JSON.
03 / CHART SUPPORT
Choose a supported chart.
One example for each supported chart type. The default chart is shown above; the remaining charts use the same annotation configuration.
Calculation rules & limits
- Available on ordered line and area series. Missing observations break the sequence; endpoints are excluded.
- minDistance counts observations within each series, rather than pixels or elapsed time.