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

Method set_x_axis_scale

src/plot_widget.rs:287–290  ·  view source on GitHub ↗

Set the x-axis scale mode. This does not modify tick producer/formatter settings.

(&mut self, scale: AxisScale)

Source from the content-addressed store, hash-verified

285 }
286
287 /// Set the x-axis limits (min, max) for the plot.
288 ///
289 /// If set, these will override autoscaling for the x-axis.
290 pub fn set_x_lim(&mut self, min: f64, max: f64) {
291 self.x_lim = Some((min, max));
292 }
293

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected