[−][src]Struct plotly::candlestick::Candlestick
Methods
impl<T, O> Candlestick<T, O> where
T: Serialize,
O: Num + Serialize,
[src]
T: Serialize,
O: Num + Serialize,
pub fn new(
x: Vec<T>,
open: Vec<O>,
high: Vec<O>,
low: Vec<O>,
close: Vec<O>
) -> Box<Candlestick<T, O>>
[src]
x: Vec<T>,
open: Vec<O>,
high: Vec<O>,
low: Vec<O>,
close: Vec<O>
) -> Box<Candlestick<T, O>>
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]
self,
hover_text: Vec<S>
) -> Box<Candlestick<T, O>>
pub fn hover_info(self, hover_info: HoverInfo) -> 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,
O: Num + Serialize,
[src]
T: Serialize,
O: Num + Serialize,
impl<T, O> Serialize for Candlestick<T, O> where
T: Serialize,
O: Num + Serialize,
T: Serialize,
O: Serialize,
[src]
T: Serialize,
O: Num + Serialize,
T: Serialize,
O: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<X, Y> Trace for Candlestick<X, Y> where
X: Serialize,
Y: Num + Serialize,
[src]
X: Serialize,
Y: Num + Serialize,
Auto Trait Implementations
impl<T, O> RefUnwindSafe for Candlestick<T, O> where
O: RefUnwindSafe,
T: RefUnwindSafe,
O: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, O> Send for Candlestick<T, O> where
O: Send,
T: Send,
O: Send,
T: Send,
impl<T, O> Sync for Candlestick<T, O> where
O: Sync,
T: Sync,
O: Sync,
T: Sync,
impl<T, O> Unpin for Candlestick<T, O> where
O: Unpin,
T: Unpin,
O: Unpin,
T: Unpin,
impl<T, O> UnwindSafe for Candlestick<T, O> where
O: UnwindSafe,
T: UnwindSafe,
O: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,