pub struct ErrorBarSeries {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub err: Vec<f64>,
pub err_neg: Option<Vec<f64>>,
pub label: Option<String>,
pub color: Option<Color>,
pub cap_width: f64,
}Expand description
An error bar series showing data uncertainty.
Fields§
§x: Vec<f64>X values.
y: Vec<f64>Y values (centers).
err: Vec<f64>Error magnitudes (symmetric if err_neg is None).
err_neg: Option<Vec<f64>>Optional negative error magnitudes (for asymmetric errors).
label: Option<String>Optional series label.
color: Option<Color>Override color.
cap_width: f64Cap width in pixels.
Implementations§
Trait Implementations§
Source§impl Clone for ErrorBarSeries
impl Clone for ErrorBarSeries
Source§fn clone(&self) -> ErrorBarSeries
fn clone(&self) -> ErrorBarSeries
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 Debug for ErrorBarSeries
impl Debug for ErrorBarSeries
Source§impl SeriesRenderer for ErrorBarSeries
impl SeriesRenderer for ErrorBarSeries
Source§fn data_bounds(&self) -> DataBounds
fn data_bounds(&self) -> DataBounds
Compute the data bounds for this series.
Auto Trait Implementations§
impl Freeze for ErrorBarSeries
impl RefUnwindSafe for ErrorBarSeries
impl Send for ErrorBarSeries
impl Sync for ErrorBarSeries
impl Unpin for ErrorBarSeries
impl UnsafeUnpin for ErrorBarSeries
impl UnwindSafe for ErrorBarSeries
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