pub struct StackedPoint {
pub key: String,
pub series: String,
pub y0: f64,
pub y1: f64,
pub value: f64,
}Expand description
A single stacked data point with baseline and top values.
Fields§
§key: StringCategory (e.g., month name)
series: StringSeries name (e.g., product line)
y0: f64Bottom of stack (baseline)
y1: f64Top of stack (y0 + value)
value: f64The value used for stacking (raw value, or normalized proportion when using Normalize offset)
Trait Implementations§
Source§impl Clone for StackedPoint
impl Clone for StackedPoint
Source§fn clone(&self) -> StackedPoint
fn clone(&self) -> StackedPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StackedPoint
impl RefUnwindSafe for StackedPoint
impl Send for StackedPoint
impl Sync for StackedPoint
impl Unpin for StackedPoint
impl UnsafeUnpin for StackedPoint
impl UnwindSafe for StackedPoint
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