flot/flot — pull request #33 by loginx (2011-12-23 21:33:47+00:00)
Title: Expose Plot.findNearbyItem method

* Allows detection of items outside of the `plothover` event.

I ran into a need to locate the point closest to a position, and noticed that the logic was already fully implemented, but not exposed as a public method. I couldn't find a good reason for `findNearbyItem` to remain private, so this commit exposes it as a public method.