Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroupStack plot – shift-click to select multiple groups #402

Open
atc3 opened this issue Sep 7, 2021 · 0 comments
Open

GroupStack plot – shift-click to select multiple groups #402

atc3 opened this issue Sep 7, 2021 · 0 comments
Labels
enhancement New feature or request UI User Interface viz Data Visualization

Comments

@atc3
Copy link
Member

atc3 commented Sep 7, 2021

Allow range selection from our GroupStack plot

Basic workflow for this:

  1. Capture shift-click events and bubble them up to React to handle
  2. Since Vega (and not React) determines the order of groups, we'll have to grab this from Vega before further processing. See src/components/Vega/SurveillancePlot.js for an example of extracting data from Vega plots into React
  3. Create the range selection from the ordered list of groups. The group that was just shift-clicked on is the end of the range, and the previously selected group is the beginning of the range. If no groups are already selected, then only select the one group that was shift-clicked (The range starts and ends at the same group). If multiple groups were already selected, then start the range at the most recently selected lineage (should be the last element in configStore.selectedGroups).
@atc3 atc3 added enhancement New feature or request UI User Interface viz Data Visualization labels Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI User Interface viz Data Visualization
Projects
None yet
Development

No branches or pull requests

1 participant