Struct plotly::candlestick::Candlestick[][src]

pub struct Candlestick<T, O> where
    T: Serialize + Default,
    O: Serialize + Default
{ /* fields omitted */ }

Implementations

impl<T, O> Candlestick<T, O> where
    T: Serialize + Default,
    O: Serialize + Default
[src]

pub fn new(
    x: Vec<T>,
    open: Vec<O>,
    high: Vec<O>,
    low: Vec<O>,
    close: Vec<O>
) -> Box<Candlestick<T, O>>
[src]

pub fn name(self, name: &str) -> Box<Candlestick<T, O>>[src]

pub fn visible(self, visible: bool) -> Box<Candlestick<T, O>>[src]

pub fn show_legend(self, show_legend: bool) -> Box<Candlestick<T, O>>[src]

pub fn legend_group(self, legend_group: &str) -> Box<Candlestick<T, O>>[src]

pub fn opacity(self, opacity: f64) -> Box<Candlestick<T, O>>[src]

pub fn text(self, text: &str) -> Box<Candlestick<T, O>>[src]

pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<Candlestick<T, O>>[src]

pub fn hover_text(self, hover_text: &str) -> Box<Candlestick<T, O>>[src]

pub fn hover_text_array<S: AsRef<str>>(
    self,
    hover_text: Vec<S>
) -> Box<Candlestick<T, O>>
[src]

pub fn hover_info(self, hover_info: HoverInfo) -> Box<Candlestick<T, O>>[src]

pub fn x_axis(self, axis: &str) -> Box<Candlestick<T, O>>[src]

pub fn y_axis(self, axis: &str) -> Box<Candlestick<T, O>>[src]

pub fn line(self, line: Line) -> Box<Candlestick<T, O>>[src]

pub fn whisker_width(self, whisker_width: f64) -> Box<Candlestick<T, O>>[src]

pub fn increasing(self, increasing: Direction) -> Box<Candlestick<T, O>>[src]

pub fn decreasing(self, decreasing: Direction) -> Box<Candlestick<T, O>>[src]

pub fn hover_label(self, hover_label: Label) -> Box<Candlestick<T, O>>[src]

pub fn x_calendar(self, x_calendar: Calendar) -> Box<Candlestick<T, O>>[src]

Trait Implementations

impl<T: Debug, O: Debug> Debug for Candlestick<T, O> where
    T: Serialize + Default,
    O: Serialize + Default
[src]

impl<T: Default, O: Default> Default for Candlestick<T, O> where
    T: Serialize + Default,
    O: Serialize + Default
[src]

impl<T, O> Serialize for Candlestick<T, O> where
    T: Serialize + Default,
    O: Serialize + Default,
    T: Serialize,
    O: Serialize
[src]

impl<X, Y> Trace for Candlestick<X, Y> where
    X: Serialize + Default,
    Y: Serialize + Default
[src]

Auto Trait Implementations

impl<T, O> RefUnwindSafe for Candlestick<T, O> where
    O: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, O> Send for Candlestick<T, O> where
    O: Send,
    T: Send
[src]

impl<T, O> Sync for Candlestick<T, O> where
    O: Sync,
    T: Sync
[src]

impl<T, O> Unpin for Candlestick<T, O> where
    O: Unpin,
    T: Unpin
[src]

impl<T, O> UnwindSafe for Candlestick<T, O> where
    O: UnwindSafe,
    T: UnwindSafe
[src]

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>, 
[src]