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)
| 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. |