pub struct BoxPlotChart {Show 23 fields
pub decorations: DecorationLayout,
pub title: String,
pub categories: Vec<Category>,
pub series: Vec<BoxPlotSeries>,
pub direction: BoxPlotDirection,
pub style: BoxPlotStyle,
pub overrides: Vec<BoxPlotOverride>,
pub hovered: Option<BoxPlotTarget>,
pub selected: Option<BoxPlotTarget>,
pub labels: BoxPlotLabels,
pub label_decimals: usize,
pub value_suffix: String,
pub value_title: String,
pub category_title: String,
pub value_range: Option<[f64; 2]>,
pub grid: bool,
pub legend: bool,
pub group_width: f32,
pub box_gap: f32,
pub font_family: String,
pub font_size: f32,
pub text_color: Color,
pub background: Color,
}Fields§
§decorations: DecorationLayoutEditable decoration positions and selection, in logical pixels.
title: String§categories: Vec<Category>§series: Vec<BoxPlotSeries>§direction: BoxPlotDirection§style: BoxPlotStyle§overrides: Vec<BoxPlotOverride>§hovered: Option<BoxPlotTarget>§selected: Option<BoxPlotTarget>§labels: BoxPlotLabels§label_decimals: usize§value_suffix: String§value_title: String§category_title: String§value_range: Option<[f64; 2]>None fits ALL supplied summary values, including hidden means/outliers/CI. Some fixes the linear viewport; geometry and picking are clipped to it.
grid: bool§legend: bool§group_width: f32§box_gap: f32§font_family: String§font_size: f32§text_color: Color§background: ColorImplementations§
Source§impl BoxPlotChart
impl BoxPlotChart
pub fn summary(&self, target: &BoxPlotTarget) -> Option<&BoxSummary>
pub fn box_override(&self, target: &BoxPlotTarget) -> Option<&BoxPlotOverride>
pub fn resolved_style(&self, target: &BoxPlotTarget) -> Option<&BoxPlotStyle>
pub fn label_text(&self, target: &BoxPlotTarget) -> Option<String>
pub fn reorder_categories(&mut self, ids: &[&str]) -> Result<(), &'static str>
pub fn validate(&self) -> Result<(), &'static str>
Trait Implementations§
Source§impl Clone for BoxPlotChart
impl Clone for BoxPlotChart
Source§impl Debug for BoxPlotChart
impl Debug for BoxPlotChart
Source§impl Default for BoxPlotChart
impl Default for BoxPlotChart
Source§impl<'de> Deserialize<'de> for BoxPlotChartwhere
BoxPlotChart: Default,
impl<'de> Deserialize<'de> for BoxPlotChartwhere
BoxPlotChart: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BoxPlotChart
impl PartialEq for BoxPlotChart
Source§impl Serialize for BoxPlotChart
impl Serialize for BoxPlotChart
impl StructuralPartialEq for BoxPlotChart
Auto Trait Implementations§
impl Freeze for BoxPlotChart
impl RefUnwindSafe for BoxPlotChart
impl Send for BoxPlotChart
impl Sync for BoxPlotChart
impl Unpin for BoxPlotChart
impl UnsafeUnpin for BoxPlotChart
impl UnwindSafe for BoxPlotChart
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