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

Method with_y_scale

src/plot_widget_builder.rs:212–215  ·  view source on GitHub ↗

Set the y-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

210 /// Hint: For log-style ticks, consider also setting the tick producer and formatter
211 /// to use [`crate::log_tick_producer`] and [`crate::log_formatter`].
212 pub fn with_y_scale(mut self, scale: AxisScale) -> Self {
213 self.y_axis_scale = Some(scale);
214 self
215 }
216
217 /// Link the x-axis to other plots. When the x-axis is panned or zoomed,
218 /// all plots sharing this link will update synchronously.

Callers 1

newFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected