Skip to content

Commit 6972345

Browse files
authored
Document legend interaction in the timeseries view help text (#8406)
### 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">
1 parent d62db93 commit 6972345

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/viewer/re_view_time_series/src/view_class.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,18 @@ Display time series data in a plot.
112112
- Scroll + {aspect_scroll_modifier} to zoom only the temporal axis while holding the y-range fixed.
113113
- Drag with the {selection_rect_zoom_button} to zoom in/out using a selection.
114114
- Click the {move_time_cursor_button} to move the time cursor.
115-
- Double-click to reset the view.",
115+
- Double-click to reset the view.
116+
117+
## Legend interactions
118+
119+
- Click on a series in the legend to show/hide it.
120+
- {alt_modifier}-Click on a series to show/hide all other series.",
116121
horizontal_scroll_modifier = ModifiersMarkdown(HORIZONTAL_SCROLL_MODIFIER, egui_ctx),
117122
zoom_scroll_modifier = ModifiersMarkdown(ZOOM_SCROLL_MODIFIER, egui_ctx),
118123
aspect_scroll_modifier = ModifiersMarkdown(ASPECT_SCROLL_MODIFIER, egui_ctx),
119124
selection_rect_zoom_button = MouseButtonMarkdown(SELECTION_RECT_ZOOM_BUTTON),
120125
move_time_cursor_button = MouseButtonMarkdown(MOVE_TIME_CURSOR_BUTTON),
126+
alt_modifier = ModifiersMarkdown(egui::Modifiers::ALT, egui_ctx),
121127
)
122128
}
123129

0 commit comments

Comments
 (0)