-
Notifications
You must be signed in to change notification settings - Fork 366
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
Allow selection of entities directly in the plot space view #4959
Conversation
571c37e
to
230798e
Compare
Fyi: Bar charts aren't clickable |
Let's fix that as well, should be easy now! |
230798e
to
1afc771
Compare
done! now also works with bar charts. Thanks for checking on it @nikolausWest :) Now based on egui |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet
egui_plot = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
emath = { git = "https://github.com/emilk/egui.git", rev = "ab39420c2933d2e402999043375b64e7cf0ee9ed" } # egui master 2024-01-29 | ||
ecolor = { git = "https://github.com/emilk/egui.git", rev = "ca513ce241c6511275e92b05b2953c38fa6086e1" } # egui Ids on plot items. 2024-01-30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slightly weird comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah this used to just say the branch name. Eh whatever, not gonna torture ci with this again now when it's about to be changed again 😄
I wish egui_plot would highlight a line when you hover it though - the lines don't feel clickable now, even though they are |
I noticed that when you hover on a thing in the legend it actually highlights by boosting the size 🤔 |
What
Wires up the new plot item ids to our hover/selection mechanism.
Moved a utility method from item_ui to ViewerContext since I didn't want to take a dependency on
re_data_ui
here (and this method had a todo about being in the wrong spot anyways 😄 )more.clicking.mov
DRAFT: Uses unpublished egui version!
Checklist
main
build: app.rerun.ionightly
build: app.rerun.io