MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / set_y_lim

Method set_y_lim

src/plot_widget.rs:295–297  ·  view source on GitHub ↗

Set the y-axis limits (min, max) for the plot. If set, these will override autoscaling for the y-axis.

(&mut self, min: f64, max: f64)

Source from the content-addressed store, hash-verified

293
294 /// Set the x-axis scale mode.
295 ///
296 /// This does not modify tick producer/formatter settings.
297 pub fn set_x_axis_scale(&mut self, scale: AxisScale) {
298 self.x_axis_scale = scale;
299 self.data_version = self.data_version.wrapping_add(1);
300 }

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected