Added selection resizing and dragging to flot.selection #541

Open
dnschnur opened this Issue Sep 28, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@dnschnur
Member

dnschnur commented Sep 28, 2012

Original author: mikejb...@gmail.com (February 15, 2011 14:05:13)

Attached is a diff of changes that add optional resizing and dragging capabilities to flot.selection. The default is to use the old behavior of always creating a new selection but setting options.selection.resize to true when creating a new plot will enable the new functionality. The diff is based on jquery.flot.selection.js in the 0.6 release.

In this mode the selection can be resized by dragging on the edges of the current selection, moved by dragging the selection, and will center the selection on the current pointer location on a mouse click. The mouse pointers will change when hovering over the selection and it's edges to give visual indicators for resize and dragging.

Original issue: http://code.google.com/p/flot/issues/detail?id=462

@dnschnur

This comment has been minimized.

Show comment Hide comment
@dnschnur

dnschnur Sep 28, 2012

Member

From mikejb...@gmail.com on February 16, 2011 16:52:01
Adding a new diff that is based on r294

Member

dnschnur commented Sep 28, 2012

From mikejb...@gmail.com on February 16, 2011 16:52:01
Adding a new diff that is based on r294

wwerther pushed a commit to wwerther/flot that referenced this issue Oct 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment