Update and return the current plot style for a given application theme.
(&self, theme: &Theme)
| 318 | } |
| 319 | |
| 320 | /// Follow mode: lock camera X to data right edge (data_max.x) on each update. |
| 321 | /// User's zoom level (half_extents.x) is preserved — only position changes. |
| 322 | pub fn set_follow_right_edge(&mut self, enabled: bool) { |
| 323 | if enabled { |
| 324 | self.follow_reset_counter = self.follow_reset_counter.wrapping_add(1); |
| 325 | } |
| 326 | self.follow_right_edge = enabled; |
| 327 | } |
| 328 | |
| 329 | /// Set the y-axis scale mode. |
| 330 | /// |
no outgoing calls
no test coverage detected