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

Method with_cursor_overlay

src/plot_widget_builder.rs:134–137  ·  view source on GitHub ↗

Enable or disable the small cursor position overlay shown in the lower-left corner of the plot. By default it's disabled when not set.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

132 /// Enable or disable the small cursor position overlay shown in the
133 /// lower-left corner of the plot. By default it's disabled when not set.
134 pub fn with_cursor_overlay(mut self, enabled: bool) -> Self {
135 self.cursor_overlay = Some(enabled);
136 self
137 }
138
139 /// Provide a custom formatter for the cursor overlay. Called with
140 /// (x, y) world coordinates and should return the formatted string.

Callers 12

newFunction · 0.80
newMethod · 0.80
plot_widgetFunction · 0.80
plot_widgetFunction · 0.80
newFunction · 0.80
newFunction · 0.80
newMethod · 0.80
new_plotFunction · 0.80
newFunction · 0.80
newFunction · 0.80
newFunction · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected