pub struct Candlestick<T, O>{ /* private fields */ }
Implementations§
Source§impl<T, O> Candlestick<T, O>
impl<T, O> Candlestick<T, O>
pub fn new( 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>>
pub fn visible(self, visible: bool) -> Box<Candlestick<T, O>>
pub fn show_legend(self, show_legend: bool) -> Box<Candlestick<T, O>>
pub fn legend_group(self, legend_group: &str) -> Box<Candlestick<T, O>>
pub fn opacity(self, opacity: f64) -> Box<Candlestick<T, O>>
pub fn text(self, text: &str) -> Box<Candlestick<T, O>>
pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<Candlestick<T, O>>
pub fn hover_text(self, hover_text: &str) -> Box<Candlestick<T, O>>
pub fn hover_text_array<S: AsRef<str>>( self, hover_text: Vec<S>, ) -> Box<Candlestick<T, O>>
pub fn hover_info(self, hover_info: HoverInfo) -> Box<Candlestick<T, O>>
pub fn x_axis(self, axis: &str) -> Box<Candlestick<T, O>>
pub fn y_axis(self, axis: &str) -> Box<Candlestick<T, O>>
pub fn line(self, line: Line) -> Box<Candlestick<T, O>>
pub fn whisker_width(self, whisker_width: f64) -> Box<Candlestick<T, O>>
pub fn increasing(self, increasing: Direction) -> Box<Candlestick<T, O>>
pub fn decreasing(self, decreasing: Direction) -> Box<Candlestick<T, O>>
pub fn hover_label(self, hover_label: Label) -> Box<Candlestick<T, O>>
pub fn x_calendar(self, x_calendar: Calendar) -> Box<Candlestick<T, O>>
Trait Implementations§
Source§impl<T, O> Debug for Candlestick<T, O>
impl<T, O> Debug for Candlestick<T, O>
Source§impl<T, O> Default for Candlestick<T, O>
impl<T, O> Default for Candlestick<T, O>
Source§fn default() -> Candlestick<T, O>
fn default() -> Candlestick<T, O>
Returns the “default value” for a type. Read more
Source§impl<T, O> Serialize for Candlestick<T, O>
impl<T, O> Serialize for Candlestick<T, O>
Auto Trait Implementations§
impl<T, O> Freeze for Candlestick<T, O>
impl<T, O> RefUnwindSafe for Candlestick<T, O>where
T: RefUnwindSafe,
O: RefUnwindSafe,
impl<T, O> Send for Candlestick<T, O>
impl<T, O> Sync for Candlestick<T, O>
impl<T, O> Unpin for Candlestick<T, O>
impl<T, O> UnwindSafe for Candlestick<T, O>where
T: UnwindSafe,
O: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more