parallel-coordinates icon indicating copy to clipboard operation
parallel-coordinates copied to clipboard

Mixing brush modes

Open julianheinrich opened this issue 9 years ago • 3 comments

Currently, lines can be selected via a single brush mode. It would be really useful though to be able to iteratively select lines using angular brushing, then strums, etc.

I guess this can be worked around by keeping track of brushed lines, but having this functionality in the library would also allow to keep the brushes on the plot.

julianheinrich avatar Feb 17 '16 01:02 julianheinrich

:+1:

antz29 avatar Mar 02 '16 19:03 antz29

That would not be very straightforward to implement. I have implemented brushing more-or-less as a mutual-exclusive plugin system. Now, it might be possible to rewrite this a bit to enable two plugins at the same time but I'm not confident that there will be no unwanted interplay between two brush implementations as all of them listen to mouse events. I wouldn't be surprised if you'd encounter unwanted side-effects.

bbroeksema avatar Mar 04 '16 10:03 bbroeksema

Yes, I wasn' t expecting this to be straight forward. Would it be possible to listen to events based on the current mouse position? For example, allow a 1D brush to be created/modified only when hovering over axes and 2D only between axes.

julianheinrich avatar Mar 18 '16 18:03 julianheinrich