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

Method set_y_axis_link

src/plot_widget.rs:315–317  ·  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

313
314 /// Follow mode: only scale Y-axis on each data update.
315 /// X camera is preserved under user pan/zoom state.
316 pub fn set_autoscale_y_on_updates(&mut self, enabled: bool) {
317 self.autoscale_y_on_updates = enabled;
318 }
319
320 /// Follow mode: lock camera X to data right edge (data_max.x) on each update.

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected