pub struct BoxPlotSeries<C> { /* private fields */ }Expand description
A group of boxes laid out side by side — one per named sample — since real use cases (one box per class/feature) always need several boxes on one chart, not a single isolated box.
Implements IntoIterator, so it drops straight into draw_series.
Implementations§
Source§impl<X: Clone> BoxPlotSeries<(X, f64)>
impl<X: Clone> BoxPlotSeries<(X, f64)>
Sourcepub fn from_samples<I, S>(groups: I) -> Result<Self, StatsError>
pub fn from_samples<I, S>(groups: I) -> Result<Self, StatsError>
Build a vertical multi-box series from (position, sample) pairs. Errors
if any sample has no finite values.
Source§impl<Y: Clone> BoxPlotSeries<(f64, Y)>
impl<Y: Clone> BoxPlotSeries<(f64, Y)>
Sourcepub fn horizontal_from_samples<I, S>(groups: I) -> Result<Self, StatsError>
pub fn horizontal_from_samples<I, S>(groups: I) -> Result<Self, StatsError>
Build a horizontal multi-box series from (position, sample) pairs.
Trait Implementations§
Source§impl<C: Clone> Clone for BoxPlotSeries<C>
impl<C: Clone> Clone for BoxPlotSeries<C>
Source§fn clone(&self) -> BoxPlotSeries<C>
fn clone(&self) -> BoxPlotSeries<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for BoxPlotSeries<C>
impl<C: Debug> Debug for BoxPlotSeries<C>
Auto Trait Implementations§
impl<C> Freeze for BoxPlotSeries<C>
impl<C> RefUnwindSafe for BoxPlotSeries<C>where
C: RefUnwindSafe,
impl<C> Send for BoxPlotSeries<C>where
C: Send,
impl<C> Sync for BoxPlotSeries<C>where
C: Sync,
impl<C> Unpin for BoxPlotSeries<C>where
C: Unpin,
impl<C> UnsafeUnpin for BoxPlotSeries<C>
impl<C> UnwindSafe for BoxPlotSeries<C>where
C: 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