wildanSawaludin / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Added selection resizing and dragging to flot.selection #462

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by mikejb...@gmail.com on 15 Feb 2011 at 2:05

Attachments:

GoogleCodeExporter commented 9 years ago
Adding a new diff that is based on r294

Original comment by mikejb...@gmail.com on 16 Feb 2011 at 4:52

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 8 May 2012 at 7:33