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

Method with_crosshairs

src/plot_widget_builder.rs:150–153  ·  view source on GitHub ↗

Enable or disable crosshairs that follow the cursor position.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

148
149 /// Enable or disable crosshairs that follow the cursor position.
150 pub fn with_crosshairs(mut self, enabled: bool) -> Self {
151 self.crosshairs = Some(enabled);
152 self
153 }
154
155 /// Select which rendering path the plot should use.
156 pub fn with_render_strategy(mut self, strategy: PlotRenderStrategy) -> Self {

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected