-
Notifications
You must be signed in to change notification settings - Fork 409
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
TimeSeries y-range is now tightly synced with plot view & uses new generic ui #6485
Conversation
Deployed docs
|
d16a39b
to
f32d1fb
Compare
…able field_info If the name is too long for the ui, it is too long for the code!
f32d1fb
to
2f5c33f
Compare
drafted: @jleibs noticed a bug where we sometimes go to -1 to 1 because egui_plot isn't happy and write that to the blueprint then, causing us to loose the meaningful default that would come in later |
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.
Great stuff! Mostly perplexed by the "Scalar range" property name—see my comment.
/// The range of the scalar values currently on screen. | ||
scalar_range: Range1D, |
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.
Would be nice to state if this is the X or Y range.
Edit: looked at the video again, and now I finally understand that in this context scalar (axis) meaning is as opposed to temporal (axis). I got confused because the entire thing is also about scalars. Wonder if there is something to improve here? 🤔 Value range? Magnitude range?
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.
uhm.... I don't disagree necessarily but while I don't feel strongly about the name itself, I do feel strongly about not wanting to open a naming discussion here about some decision someone made at some point.
Plz open an issue if you think this is worth refactoring/renaming. Thank you for your understanding 🙇
@@ -188,7 +181,7 @@ impl SpaceViewClass for TimeSeriesSpaceView { | |||
); | |||
|
|||
view_property_ui::<PlotLegend>(ctx, ui, space_view_id, self, state); | |||
axis_ui(ctx, space_view_id, ui, state); | |||
view_property_ui::<ScalarAxis>(ctx, ui, space_view_id, self, state); |
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.
❤️
What
Easier demonstrated than described:
https://github.com/rerun-io/rerun/assets/1220815/11fb9b5a-3276-4391-9e7c-1b6b7fce2bd7
lock_range_during_zoom
tozoom_lock
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.