MCPcopy Index your code
hub / github.com/emilk/egui_plot / allow_zoom

Method allow_zoom

egui_plot/src/plot.rs:308–314  ·  view source on GitHub ↗
(mut self, on: T)

Source from the content-addressed store, hash-verified

306 /// results if used in combination with `data_aspect`.
307 #[inline]
308 pub fn allow_zoom<T>(mut self, on: T) -> Self
309 where
310 T: Into<Vec2b>,
311 {
312 self.allow_zoom = on.into();
313 self
314 }
315
316 /// Whether to allow scrolling in the plot. Default: `true`.
317 #[inline]

Callers 4

show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected