From 00d8ed601f3462f40526827d97d54441dbb58324 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Wed, 11 Dec 2024 09:58:58 +0100 Subject: [PATCH] Document legend interaction in the timeseries view help text --- crates/viewer/re_view_time_series/src/view_class.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/viewer/re_view_time_series/src/view_class.rs b/crates/viewer/re_view_time_series/src/view_class.rs index b865b32fd716..a1447b57af81 100644 --- a/crates/viewer/re_view_time_series/src/view_class.rs +++ b/crates/viewer/re_view_time_series/src/view_class.rs @@ -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), ) }