pub struct Series {
pub label: Option<String>,
pub token: Option<String>,
pub values: Vec<Option<f64>>,
}Expand description
One line of a multi-series line or area chart.
Fields§
§label: Option<String>Names its legend chip and its part of the tooltip.
token: Option<String>Its color token (default the next chart color).
values: Vec<Option<f64>>One value per x position; None is a gap where the line breaks.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Series
Auto Trait Implementations§
impl Freeze for Series
impl RefUnwindSafe for Series
impl Send for Series
impl Sync for Series
impl Unpin for Series
impl UnsafeUnpin for Series
impl UnwindSafe for Series
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