ramido / choosel

Automatically exported from code.google.com/p/choosel
0 stars 0 forks source link

Box selection in scatter plot, dot view #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add box selection to scatter plot and dot view. The user interaction should be 
as follows:

(a) user presses mouse button (mouse down) in view
(b) user moves mouse (button still down) 
(c) all items in rectangle (from initial point of mouse down event to current 
position) are highlighted. This updates as the mouse moves and the rectangle 
changes.
(d) user releases mouse button (mouse up)
(e) the rectangle persists and two button (+,-) are shown in the bottom right 
corner (see attached sketch)
(f) if the user clicks on +, the items in the rectangle get added to the 
current selection and the rectangle fades out
(g) if the user clicks on -, the items in the rectangle get removed from the 
current selection and the rectangle fades out
(h) after 2 seconds (maybe add constraints that mouse is outside the 
rectangle), the rectangles fades out

Other constraints: 
- Rectangle should be faint yellow with slightly stronger border, color similar 
to highlighting color.
- plus-button should be grayed out if all items within the rectangle are 
already contained in the selection
- minus-button should be grayed out if no items within the rectangle are 
already contained in the selection

Original issue reported on code.google.com by Lars.Grammel on 11 Jun 2010 at 10:52

Attachments:

GoogleCodeExporter commented 9 years ago
Added selection box to Dot chart. Correct colours, functional +/- boxes. Still 
need to work on graying out +/- boxes in appropriate cases, fading out of 
rectangle.   

Original comment by bblashko@gmail.com on 14 Jun 2010 at 8:09

GoogleCodeExporter commented 9 years ago

Original comment by bblashko@gmail.com on 18 Jun 2010 at 8:27