[][src]Struct plotly::bar::Bar

pub struct Bar<X, Y> where
    X: Serialize,
    Y: Num + Serialize
{ /* fields omitted */ }

Methods

impl<X, Y> Bar<X, Y> where
    X: Serialize,
    Y: Num + Serialize
[src]

pub fn new(x: Vec<X>, y: Vec<Y>) -> Box<Bar<X, Y>>[src]

pub fn name(self, name: &str) -> Box<Bar<X, Y>>[src]

pub fn visible(self, visible: bool) -> Box<Bar<X, Y>>[src]

pub fn show_legend(self, show_legend: bool) -> Box<Bar<X, Y>>[src]

pub fn legend_group(self, legend_group: &str) -> Box<Bar<X, Y>>[src]

pub fn opacity(self, opacity: f64) -> Box<Bar<X, Y>>[src]

pub fn ids<S: AsRef<str>>(self, ids: Vec<S>) -> Box<Bar<X, Y>>[src]

pub fn width(self, width: usize) -> Box<Bar<X, Y>>[src]

pub fn offset(self, offset: usize) -> Box<Bar<X, Y>>[src]

pub fn offset_array(self, offset: Vec<usize>) -> Box<Bar<X, Y>>[src]

pub fn text(self, text: &str) -> Box<Bar<X, Y>>[src]

pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<Bar<X, Y>>[src]

pub fn text_position(self, text_position: TextPosition) -> Box<Bar<X, Y>>[src]

pub fn text_position_array(
    self,
    text_position: Vec<TextPosition>
) -> Box<Bar<X, Y>>
[src]

pub fn text_template(self, text_template: &str) -> Box<Bar<X, Y>>[src]

pub fn text_template_array<S: AsRef<str>>(
    self,
    text_template: Vec<S>
) -> Box<Bar<X, Y>>
[src]

pub fn hover_text(self, hover_text: &str) -> Box<Bar<X, Y>>[src]

pub fn hover_text_array<S: AsRef<str>>(
    self,
    hover_text: Vec<S>
) -> Box<Bar<X, Y>>
[src]

pub fn hover_info(self, hover_info: HoverInfo) -> Box<Bar<X, Y>>[src]

pub fn hover_template(self, hover_template: &str) -> Box<Bar<X, Y>>[src]

pub fn hover_template_array<S: AsRef<str>>(
    self,
    hover_template: Vec<S>
) -> Box<Bar<X, Y>>
[src]

pub fn orientation(self, orientation: Orientation) -> Box<Bar<X, Y>>[src]

pub fn alignment_group(self, alignment_group: &str) -> Box<Bar<X, Y>>[src]

pub fn offset_group(self, offset_group: &str) -> Box<Bar<X, Y>>[src]

pub fn marker(self, marker: Marker) -> Box<Bar<X, Y>>[src]

pub fn text_angle(self, text_angle: f64) -> Box<Bar<X, Y>>[src]

pub fn text_font(self, text_font: Font) -> Box<Bar<X, Y>>[src]

pub fn error_x(self, error_x: ErrorData) -> Box<Bar<X, Y>>[src]

pub fn error_y(self, error_y: ErrorData) -> Box<Bar<X, Y>>[src]

pub fn clip_on_axis(self, clip_on_axis: bool) -> Box<Bar<X, Y>>[src]

pub fn constrain_text(self, constrain_text: ConstrainText) -> Box<Bar<X, Y>>[src]

pub fn hover_label(self, hover_label: Label) -> Box<Bar<X, Y>>[src]

pub fn inside_text_anchor(
    self,
    inside_text_anchor: TextAnchor
) -> Box<Bar<X, Y>>
[src]

pub fn inside_text_font(self, inside_text_font: Font) -> Box<Bar<X, Y>>[src]

pub fn outside_text_font(self, outside_text_font: Font) -> Box<Bar<X, Y>>[src]

pub fn x_calendar(self, x_calendar: Calendar) -> Box<Bar<X, Y>>[src]

pub fn y_calendar(self, y_calendar: Calendar) -> Box<Bar<X, Y>>[src]

Trait Implementations

impl<X: Debug, Y: Debug> Debug for Bar<X, Y> where
    X: Serialize,
    Y: Num + Serialize
[src]

impl<X, Y> Serialize for Bar<X, Y> where
    X: Serialize,
    Y: Num + Serialize,
    X: Serialize,
    Y: Serialize
[src]

impl<X, Y> Trace for Bar<X, Y> where
    X: Serialize,
    Y: Num + Serialize
[src]

Auto Trait Implementations

impl<X, Y> RefUnwindSafe for Bar<X, Y> where
    X: RefUnwindSafe,
    Y: RefUnwindSafe

impl<X, Y> Send for Bar<X, Y> where
    X: Send,
    Y: Send

impl<X, Y> Sync for Bar<X, Y> where
    X: Sync,
    Y: Sync

impl<X, Y> Unpin for Bar<X, Y> where
    X: Unpin,
    Y: Unpin

impl<X, Y> UnwindSafe for Bar<X, Y> where
    X: UnwindSafe,
    Y: UnwindSafe

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>,