vega / vega-lite

A concise grammar of interactive graphics, built on Vega.
https://vega.github.io/vega-lite/
BSD 3-Clause "New" or "Revised" License
4.67k stars 608 forks source link

Support selection of multiple interval? #6548

Open kanitw opened 4 years ago

kanitw commented 4 years ago

It may make sense to have the ability to shift click and select multiple intervals.

dwootton commented 1 year ago

Multiple interval selections would be super useful. Just ran into a use case where I was attempting to select the tail-ends of distributions. Having the ability to shift-drag to add a new interval selection would have been exactly what I needed.

domoritz commented 1 year ago

Do you need an arbitrary number of interval selections or just n>1?

dwootton commented 1 year ago

Arbitrary numbers would likely be ideal as I can imagine plenty of use cases, but with my case, n=2 would suffice.

domoritz commented 1 year ago

Agreed. If you have n=2, you can make two separate selections with different modifier keys.