MCPcopy Create free account
hub / github.com/emilk/egui_plot / width

Method width

egui_plot/src/plot.rs:245–249  ·  view source on GitHub ↗
(mut self, width: f32)

Source from the content-addressed store, hash-verified

243 /// height.
244 #[inline]
245 pub fn width(mut self, width: f32) -> Self {
246 self.min_size.x = width;
247 self.width = Some(width);
248 self
249 }
250
251 /// Height of plot. By default a plot will fill the ui it is in.
252 /// If you set [`Self::view_aspect`], the height can be calculated from the

Callers 12

show_plotMethod · 0.45
show_plotMethod · 0.45
show_plotMethod · 0.45
show_plotMethod · 0.45
uiMethod · 0.45
load_thumbnailsMethod · 0.45
axis_widgetsFunction · 0.45
newMethod · 0.45
dpos_dvalue_xMethod · 0.45
aspectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected