pub struct BarGroupsPlotF32<'a> { /* private fields */ }Expand description
Bar groups plot for f32 data
Implementations§
Source§impl<'a> BarGroupsPlotF32<'a>
impl<'a> BarGroupsPlotF32<'a>
Sourcepub fn new(
label_ids: Vec<&'a str>,
values: &'a [f32],
item_count: usize,
group_count: usize,
) -> Self
pub fn new( label_ids: Vec<&'a str>, values: &'a [f32], item_count: usize, group_count: usize, ) -> Self
Create a new bar groups plot with f32 data
Sourcepub fn with_group_size(self, group_size: f64) -> Self
pub fn with_group_size(self, group_size: f64) -> Self
Set the group size
Sourcepub fn with_shift(self, shift: f64) -> Self
pub fn with_shift(self, shift: f64) -> Self
Set the shift
Sourcepub fn with_flags(self, flags: BarGroupsFlags) -> Self
pub fn with_flags(self, flags: BarGroupsFlags) -> Self
Set flags
Sourcepub fn horizontal(self) -> Self
pub fn horizontal(self) -> Self
Make bars horizontal
Trait Implementations§
Source§impl<'a> PlotData for BarGroupsPlotF32<'a>
impl<'a> PlotData for BarGroupsPlotF32<'a>
Auto Trait Implementations§
impl<'a> Freeze for BarGroupsPlotF32<'a>
impl<'a> RefUnwindSafe for BarGroupsPlotF32<'a>
impl<'a> Send for BarGroupsPlotF32<'a>
impl<'a> Sync for BarGroupsPlotF32<'a>
impl<'a> Unpin for BarGroupsPlotF32<'a>
impl<'a> UnwindSafe for BarGroupsPlotF32<'a>
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