pub struct LcSeries<'a> {
pub label: &'a str,
pub data: &'a SeriesBuf,
pub color: u32,
pub pal: Option<u8>,
pub area: bool,
pub unit: LcUnit<'a>,
}Expand description
one series of a line chart: a label, its points, colour, line or area, unit
Fields§
§label: &'a str§data: &'a SeriesBuf§color: u320xAARRGGBB; 0 = the chart palette’s colour pal, without one the series’ index
pal: Option<u8>§area: boola translucent fill under the line, down to zero (or to the edge of the plot)
unit: LcUnit<'a>how its values read (the y axis takes the first series’)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LcSeries<'a>
impl<'a> Freeze for LcSeries<'a>
impl<'a> RefUnwindSafe for LcSeries<'a>
impl<'a> Send for LcSeries<'a>
impl<'a> Sync for LcSeries<'a>
impl<'a> Unpin for LcSeries<'a>
impl<'a> UnsafeUnpin for LcSeries<'a>
impl<'a> UnwindSafe for LcSeries<'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