[][src]Struct plotly::layout::Legend

pub struct Legend { /* fields omitted */ }

Methods

impl Legend[src]

pub fn new() -> Legend[src]

pub fn background_color<C: Color>(self, background_color: C) -> Legend[src]

pub fn border_color<C: Color>(self, border_color: C) -> Legend[src]

pub fn border_width(self, border_width: usize) -> Legend[src]

pub fn font(self, font: Font) -> Legend[src]

pub fn orientation(self, orientation: Orientation) -> Legend[src]

pub fn trace_order(self, trace_order: &str) -> Legend[src]

pub fn trace_group_gap(self, trace_group_gap: usize) -> Legend[src]

pub fn item_sizing(self, item_sizing: &str) -> Legend[src]

pub fn item_click(self, item_click: &str) -> Legend[src]

pub fn item_double_click(self, item_double_click: &str) -> Legend[src]

pub fn x(self, x: f64) -> Legend[src]

pub fn x_anchor(self, x_anchor: Anchor) -> Legend[src]

pub fn y(self, y: f64) -> Legend[src]

pub fn y_anchor(self, y_anchor: Anchor) -> Legend[src]

pub fn valign(self, valign: Align) -> Legend[src]

pub fn title(self, title: Title) -> Legend[src]

Trait Implementations

impl Debug for Legend[src]

impl Serialize for Legend[src]

Auto Trait Implementations

impl RefUnwindSafe for Legend

impl Send for Legend

impl Sync for Legend

impl Unpin for Legend

impl UnwindSafe for Legend

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,