[][src]Struct plotly_types::traces::histogram::ErrorY

pub struct ErrorY<'a> { /* fields omitted */ }

Implementations

impl<'a> ErrorY<'a>[src]

pub fn visible(&mut self, visible: bool) -> &mut Self[src]

Determines whether or not this set of error bars is visible.

pub fn symmetric(&mut self, symmetric: bool) -> &mut Self[src]

Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.

pub fn array(&mut self, array: &'a [f64]) -> &mut Self[src]

Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.

pub fn arrayminus(&mut self, arrayminus: &'a [f64]) -> &mut Self[src]

Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.

pub fn value(&mut self, value: f64) -> &mut Self[src]

Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars.

default: 10

pub fn valueminus(&mut self, valueminus: f64) -> &mut Self[src]

Sets the value of either the percentage (if type is set to percent) or the constant (if type is set to constant) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars

default: 10

pub fn traceref(&mut self, traceref: u64) -> &mut Self[src]

default: 0

pub fn tracerefminus(&mut self, tracerefminus: u64) -> &mut Self[src]

default: 0

pub fn color(&mut self, color: &'a str) -> &mut Self[src]

Sets the stoke color of the error bars.

pub fn thickness(&mut self, thickness: f64) -> &mut Self[src]

Sets the thickness (in px) of the error bars.

default: 2

pub fn width(&mut self, width: f64) -> &mut Self[src]

Sets the width (in px) of the cross-bar at both ends of the error bars.

Trait Implementations

impl<'a> Default for ErrorY<'a>[src]

impl<'a> Serialize for ErrorY<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ErrorY<'a>

impl<'a> Send for ErrorY<'a>

impl<'a> Sync for ErrorY<'a>

impl<'a> Unpin for ErrorY<'a>

impl<'a> UnwindSafe for ErrorY<'a>

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.