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

Method with_y_axis_link

src/plot_widget_builder.rs:226–229  ·  view source on GitHub ↗

Link the y-axis to other plots. When the y-axis is panned or zoomed, all plots sharing this link will update synchronously.

(mut self, link: AxisLink)

Source from the content-addressed store, hash-verified

224 /// Link the y-axis to other plots. When the y-axis is panned or zoomed,
225 /// all plots sharing this link will update synchronously.
226 pub fn with_y_axis_link(mut self, link: AxisLink) -> Self {
227 self.y_axis_link = Some(link);
228 self
229 }
230
231 /// Set a custom formatter for the x-axis tick labels.
232 pub fn with_x_tick_formatter<F>(mut self, formatter: F) -> Self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected