pub struct SeriesSummary {
pub key: Option<String>,
pub n: usize,
pub x_from: String,
pub x_to: String,
pub y_first: f64,
pub y_last: f64,
pub y_min: (f64, String),
pub y_max: (f64, String),
pub band: Option<(f64, f64)>,
pub points: Vec<(String, f64)>,
}Expand description
One series of a layer (all its rows when the layer has no series column).
Fields§
§key: Option<String>The series’ value (its colour / fill / group), None for a single one.
n: usizeRows with a finite y.
x_from: StringThe x extent: the smallest and largest of a numeric or date x, the first and last (in the order drawn) of a discrete one.
x_to: String§y_first: f64§y_last: f64§y_min: (f64, String)(y, x) of the smallest and largest y (the first, on a tie).
y_max: (f64, String)§band: Option<(f64, f64)>(lowest ymin, highest ymax) of a band (ribbon, smooth, interval).
points: Vec<(String, f64)>Every mark’s (x label, y), in the order drawn.
Trait Implementations§
Source§impl Clone for SeriesSummary
impl Clone for SeriesSummary
Source§impl Debug for SeriesSummary
impl Debug for SeriesSummary
Source§impl PartialEq for SeriesSummary
impl PartialEq for SeriesSummary
impl StructuralPartialEq for SeriesSummary
Auto Trait Implementations§
impl Forget for SeriesSummary
impl Freeze for SeriesSummary
impl Move for SeriesSummary
impl RefUnwindSafe for SeriesSummary
impl Send for SeriesSummary
impl Sync for SeriesSummary
impl Unpin for SeriesSummary
impl UnsafeUnpin for SeriesSummary
impl UnwindSafe for SeriesSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more