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

Method with_pick_highlight_provider

src/plot_widget_builder.rs:112–118  ·  view source on GitHub ↗

Provide a custom highlighter for pick point.

(mut self, provider: F)

Source from the content-addressed store, hash-verified

110
111 /// Provide a custom highlighter for pick point.
112 pub fn with_pick_highlight_provider<F>(mut self, provider: F) -> Self
113 where
114 F: Fn(TooltipContext<'_>, &mut HighlightPoint) -> Option<String> + Send + Sync + 'static,
115 {
116 self.pick_highlight_provider = Some(Arc::new(provider));
117 self
118 }
119
120 /// Provide a custom highlighter for hovered point.
121 ///

Callers 6

newFunction · 0.80
new_plotFunction · 0.80
newMethod · 0.80
newFunction · 0.80
newMethod · 0.80
new_scatterFunction · 0.80

Calls 1

newFunction · 0.50

Tested by

no test coverage detected