danvk/dygraphs — pull request #119 by klausw-g (2012-02-09 01:27:52+00:00)
Title: Add support for closest-series highlighting

The new option highlightSeriesOpts applies options such as strokeWidth
to the timeseries that's currently closest to the mouse Y position,
and also passes the name of that timeseries to the highlightCallback.

Also add a "highlight" class label to the currently-highlighted
timeseries in the legend view to facilitate styling via CSS.

See the new tests in callback.js for examples.

[See also http://code.google.com/p/dygraphs/issues/detail?id=75 "Highlight label of nearest data series"]