danvk/dygraphs — pull request #311 by panuhorsmalahti (2014-09-12 10:49:19+00:00)
Title: Add highlightMinDistance option

This new option is required to only highlight a point if the distance is smaller than a specified distance in pixels. The default is Infinity (which doesn't change the existing behaviour in any way). This is useful for e.g. creating scatter plots and adding interaction to clicking the points.

Without this option a point is highlighted even if it's not in clicking distance.