Skip to main content

LabelFormatter

Type Alias LabelFormatter 

Source
pub type LabelFormatter<'a> = Box<dyn Fn(&str, &PlotPoint) -> String + 'a>;
Expand description

Optional label formatter function for customizing hover labels.

Aliased Typeยง

pub struct LabelFormatter<'a>(/* private fields */);