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

Method set_x_lim

src/plot_widget.rs:280–282  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

278 pub fn set_x_axis_label(&mut self, label: impl Into<String>) {
279 self.x_axis_label = label.into();
280 }
281
282 /// Set the y-axis label.
283 pub fn set_y_axis_label(&mut self, label: impl Into<String>) {
284 self.y_axis_label = label.into();
285 }

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected