flot/flot — pull request #844 by manzanotti (2012-10-18 13:08:52+00:00)
Title: Added eventOnPanEnd to navigate extension

The navigate functionality captures all mouse click events. Whilst the
extension has an onDragEnd event, this is not communicated to the
outside world. This commit adds eventOnPanEnd to the pan options,
enabling the calling code to pass a function through to the navigate
extension.

An example use case for this is wanting to make an Ajax call to retrieve
more data when the user has panned a graph. Binding to the plotPan event
is not useful in this case, as this fires every time the graph is moved.
I wanted to bind to the onMouseUp event, but the navigate extension
captures this event.