Visitar URL original
Cursor Focus

Multi-series focus

Hover a curve or legend entry to focus its related run: raw, smoothed, and both band endpoints.

The hook sets the private u.series[i]._focus flags and each series' alpha, then calls u.redraw(false). The focused run stays fully opaque; other runs use 30% opacity. Band groups retain their internal fill, stroke, and point order.