Struct charts::LegendOptions [−][src]
pub struct LegendOptions { pub label_formatter: Option<LabelFormatter>, pub position: Position, pub style: StyleOptions, }
Fields
label_formatter: Option<LabelFormatter>
(String label) -> String - A function that format the labels.
position: Position
The position of the legend relative to the chart area. Supported values: “left”, “top”, “bottom”, “right”, “none”.
style: StyleOptions
An object that controls the styling of the legend.
Auto Trait Implementations
impl RefUnwindSafe for LegendOptions
impl RefUnwindSafe for LegendOptions
impl Send for LegendOptions
impl Send for LegendOptions
impl Sync for LegendOptions
impl Sync for LegendOptions
impl Unpin for LegendOptions
impl Unpin for LegendOptions
impl UnwindSafe for LegendOptions
impl UnwindSafe for LegendOptions