pub struct Candlesticks<X, WM, BM, BH, WH> {
pub x: X,
pub whisker_min: WM,
pub box_min: BM,
pub box_high: BH,
pub whisker_high: WH,
}Expand description
A candlestick consists of a box and two whiskers that extend beyond the box
Fields§
§x: XX coordinate of the candlestick
whisker_min: WMY coordinate of the end point of the bottom whisker
box_min: BMY coordinate of the bottom of the box
box_high: BHY coordinate of the top of the box
whisker_high: WHY coordinate of the end point of the top whisker
Trait Implementations§
Source§impl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figurewhere
BH: IntoIterator,
BH::Item: Data,
BM: IntoIterator,
BM::Item: Data,
WH: IntoIterator,
WH::Item: Data,
WM: IntoIterator,
WM::Item: Data,
X: IntoIterator,
X::Item: Data,
impl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figurewhere
BH: IntoIterator,
BH::Item: Data,
BM: IntoIterator,
BM::Item: Data,
WH: IntoIterator,
WH::Item: Data,
WM: IntoIterator,
WM::Item: Data,
X: IntoIterator,
X::Item: Data,
Source§type Properties = Properties
type Properties = Properties
The properties associated to the plot
Source§fn plot<F>(
&mut self,
candlesticks: Candlesticks<X, WM, BM, BH, WH>,
configure: F,
) -> &mut Figure
fn plot<F>( &mut self, candlesticks: Candlesticks<X, WM, BM, BH, WH>, configure: F, ) -> &mut Figure
Plots some
data with some configurationAuto Trait Implementations§
impl<X, WM, BM, BH, WH> Freeze for Candlesticks<X, WM, BM, BH, WH>
impl<X, WM, BM, BH, WH> RefUnwindSafe for Candlesticks<X, WM, BM, BH, WH>
impl<X, WM, BM, BH, WH> Send for Candlesticks<X, WM, BM, BH, WH>
impl<X, WM, BM, BH, WH> Sync for Candlesticks<X, WM, BM, BH, WH>
impl<X, WM, BM, BH, WH> Unpin for Candlesticks<X, WM, BM, BH, WH>
impl<X, WM, BM, BH, WH> UnwindSafe for Candlesticks<X, WM, BM, BH, WH>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreLayout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.