-
Notifications
You must be signed in to change notification settings - Fork 608
Add option to link the X-axis of multiple time plots #10146
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
Conversation
|
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
|
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
|
This is really cool! Thanks @emilk Bug report: It appears that double-clicking a synced plot only zooms-to-fit on y, not x. |
Wumpf
left a 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.
Nice, great to have something here and very happy to see this done with a very uninvasive implementation.
Would like to address the issue on how this is presented better though before landing :)
crates/store/re_types/definitions/rerun/blueprint/archetypes/time_axis.fbs
Outdated
Show resolved
Hide resolved
crates/store/re_types/definitions/rerun/blueprint/components/link_axis.fbs
Outdated
Show resolved
Hide resolved
Co-authored-by: Andreas Reich <andreas@rerun.io>


Related
PlotUi::set_plot_bounds_xandset_plot_bounds_yemilk/egui_plot#110What
This adds a blueprint option to link the horizontal/time/X axes of multiple plots together.
I think #9789 is a nicer solution in the long run, but today I wanted to deliver value quickly (<2h work).
link-axis.mp4
Weirness
After double-clicking a view, we turn on auto-scalin of the Y axis. This can become surprising when you then pan in another plot. Overall, the hidden state of "auto-bounds" in egui_plot is… suboptimal.