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: X
X coordinate of the candlestick
whisker_min: WM
Y coordinate of the end point of the bottom whisker
box_min: BM
Y coordinate of the bottom of the box
box_high: BH
Y coordinate of the top of the box
whisker_high: WH
Y 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 configuration
Auto 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