Skip to content

Commit

Permalink
Document legend interaction in the timeseries view help text (#8406)
Browse files Browse the repository at this point in the history
### Related

* Related: 8402

### What

Document the legend interactions in the timeseries view.

<img width="531" alt="image"
src="https://github.com/user-attachments/assets/8bf23829-6861-4abe-837b-84d4ab50d95b">
  • Loading branch information
abey79 authored Dec 11, 2024
1 parent d62db93 commit 6972345
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit 6972345

Please sign in to comment.