Struct criterion_plot::candlestick::Candlesticks
[−]
[src]
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, }
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
impl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figure where
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,
[src]
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,
type Properties = Properties
The properties associated to the plot
fn plot<F>(
&mut self,
candlesticks: Candlesticks<X, WM, BM, BH, WH>,
configure: F
) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
[src]
&mut self,
candlesticks: Candlesticks<X, WM, BM, BH, WH>,
configure: F
) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration