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

Document legend interaction in the timeseries view help text #8406

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion crates/viewer/re_view_time_series/src/view_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,18 @@ Display time series data in a plot.
- Scroll + {aspect_scroll_modifier} to zoom only the temporal axis while holding the y-range fixed.
- Drag with the {selection_rect_zoom_button} to zoom in/out using a selection.
- Click the {move_time_cursor_button} to move the time cursor.
- Double-click to reset the view.",
- Double-click to reset the view.

## Legend interactions

- Click on a series in the legend to show/hide it.
- {alt_modifier}-Click on a series to show/hide all other series.",
horizontal_scroll_modifier = ModifiersMarkdown(HORIZONTAL_SCROLL_MODIFIER, egui_ctx),
zoom_scroll_modifier = ModifiersMarkdown(ZOOM_SCROLL_MODIFIER, egui_ctx),
aspect_scroll_modifier = ModifiersMarkdown(ASPECT_SCROLL_MODIFIER, egui_ctx),
selection_rect_zoom_button = MouseButtonMarkdown(SELECTION_RECT_ZOOM_BUTTON),
move_time_cursor_button = MouseButtonMarkdown(MOVE_TIME_CURSOR_BUTTON),
alt_modifier = ModifiersMarkdown(egui::Modifiers::ALT, egui_ctx),
)
}

Expand Down
Loading