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

Method update_style

src/plot_widget.rs:320–327  ·  view source on GitHub ↗

Update and return the current plot style for a given application theme.

(&self, theme: &Theme)

Source from the content-addressed store, hash-verified

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 ///

Callers 6

view_plot_areaMethod · 0.80
view_tooltip_overlayMethod · 0.80
view_cursor_overlayMethod · 0.80
legendFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected