pub struct Legend { /* private fields */ }
Implementations§
Source§impl Legend
impl Legend
pub fn new() -> Legend
pub fn background_color<C: Color>(self, background_color: C) -> Legend
pub fn border_color<C: Color>(self, border_color: C) -> Legend
pub fn border_width(self, border_width: usize) -> Legend
pub fn font(self, font: Font) -> Legend
pub fn orientation(self, orientation: Orientation) -> Legend
pub fn trace_order(self, trace_order: &str) -> Legend
pub fn trace_group_gap(self, trace_group_gap: usize) -> Legend
pub fn item_sizing(self, item_sizing: &str) -> Legend
pub fn item_click(self, item_click: &str) -> Legend
pub fn item_double_click(self, item_double_click: &str) -> Legend
pub fn x(self, x: f64) -> Legend
pub fn x_anchor(self, x_anchor: Anchor) -> Legend
pub fn y(self, y: f64) -> Legend
pub fn y_anchor(self, y_anchor: Anchor) -> Legend
pub fn valign(self, valign: VAlign) -> Legend
pub fn title(self, title: Title) -> Legend
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Legend
impl RefUnwindSafe for Legend
impl Send for Legend
impl Sync for Legend
impl Unpin for Legend
impl UnwindSafe for Legend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more