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

Method with_x_scale

src/plot_widget_builder.rs:196–199  ·  view source on GitHub ↗

Set the x-axis scale mode. Hint: For log-style ticks, consider also setting the tick producer and formatter to use [`crate::log_tick_producer`] and [`crate::log_formatter`].

(mut self, scale: AxisScale)

Source from the content-addressed store, hash-verified

194 /// Hint: For log-style ticks, consider also setting the tick producer and formatter
195 /// to use [`crate::log_tick_producer`] and [`crate::log_formatter`].
196 pub fn with_x_scale(mut self, scale: AxisScale) -> Self {
197 self.x_axis_scale = Some(scale);
198 self
199 }
200
201 /// Set the y-axis limits (min, max) for the plot.
202 /// If set, these will override autoscaling for the y-axis.

Callers 1

newFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected