pub struct PositionalBarPlot<'a> { /* private fields */ }Expand description
Bar plot with explicit X positions
Implementations§
Source§impl<'a> PositionalBarPlot<'a>
impl<'a> PositionalBarPlot<'a>
Sourcepub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
pub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
Create a new positional bar plot with explicit X and Y data
Sourcepub fn with_bar_size(self, bar_size: f64) -> Self
pub fn with_bar_size(self, bar_size: f64) -> Self
Set the bar width (in plot units)
Sourcepub fn with_flags(self, flags: BarsFlags) -> Self
pub fn with_flags(self, flags: BarsFlags) -> Self
Set bar flags for customization
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PositionalBarPlot<'a>
impl<'a> RefUnwindSafe for PositionalBarPlot<'a>
impl<'a> Send for PositionalBarPlot<'a>
impl<'a> Sync for PositionalBarPlot<'a>
impl<'a> Unpin for PositionalBarPlot<'a>
impl<'a> UnwindSafe for PositionalBarPlot<'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