Allow scrolling the visible range by midlle- or right-clicking and dragging. Unlike the timegraph (which is using ScrollPane.setPannable(true)) we will have to implement the scrolling "manually".
[x] Implement panning in visible-range chart (redraws the view to a new time range).
[x] Implement panning in full-range chart (moves the selection rectangle).
Allow scrolling the visible range by midlle- or right-clicking and dragging. Unlike the timegraph (which is using
ScrollPane.setPannable(true)
) we will have to implement the scrolling "manually".