pub struct BoxStyle {
pub box_fill: ShapeStyle,
pub box_border: ShapeStyle,
pub whisker: ShapeStyle,
pub median: ShapeStyle,
pub outlier: ShapeStyle,
pub outlier_radius: u32,
pub cap_ratio: f64,
}Expand description
Visual styling for a box plot. Every field is overridable; the defaults are
a shared starting point (see crate::style).
Fields§
§box_fill: ShapeStyleFill of the interquartile box.
box_border: ShapeStyleBorder of the interquartile box.
whisker: ShapeStyleWhisker and cap line style.
median: ShapeStyleMedian line style.
outlier: ShapeStyleOutlier marker style.
outlier_radius: u32Radius, in pixels, of outlier markers.
cap_ratio: f64Whisker cap length as a fraction of the box width (0.0–1.0).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxStyle
impl RefUnwindSafe for BoxStyle
impl Send for BoxStyle
impl Sync for BoxStyle
impl Unpin for BoxStyle
impl UnsafeUnpin for BoxStyle
impl UnwindSafe for BoxStyle
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