MCPcopy Create free account
hub / github.com/emilk/egui_plot / label_formatter

Method label_formatter

egui_plot/src/plot.rs:420–423  ·  view source on GitHub ↗
(mut self, label_formatter: impl Fn(&HoverPosition<'_>) -> Option<String> + 'a)

Source from the content-addressed store, hash-verified

418 /// ```
419 #[inline]
420 pub fn label_formatter(mut self, label_formatter: impl Fn(&HoverPosition<'_>) -> Option<String> + 'a) -> Self {
421 self.label_formatter = Some(Box::new(label_formatter));
422 self
423 }
424
425 /// Show the pointer coordinates in the plot.
426 #[inline]

Callers 2

show_plotMethod · 0.80
show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected