syntagmatic / parallel-coordinates

A d3-based parallel coordinates plot in canvas. This library is no longer actively developed.
http://syntagmatic.github.com/parallel-coordinates/
Other
511 stars 211 forks source link

Mixing brush modes #275

Open julianheinrich opened 8 years ago

julianheinrich commented 8 years ago

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.

antz29 commented 8 years ago

:+1:

bbroeksema commented 8 years ago

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.

julianheinrich commented 8 years ago

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.