pub struct LineSeries {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub label: Option<String>,
pub color: Option<Color>,
pub width: Option<f64>,
pub dash: Option<DashPattern>,
}Expand description
A line series connecting data points with a polyline.
Fields§
§x: Vec<f64>X values.
y: Vec<f64>Y values.
label: Option<String>Optional series label.
color: Option<Color>Override color.
width: Option<f64>Override line width.
dash: Option<DashPattern>Dash pattern.
Implementations§
Trait Implementations§
Source§impl Clone for LineSeries
impl Clone for LineSeries
Source§fn clone(&self) -> LineSeries
fn clone(&self) -> LineSeries
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 LineSeries
impl Debug for LineSeries
Source§impl SeriesRenderer for LineSeries
impl SeriesRenderer for LineSeries
Source§fn data_bounds(&self) -> DataBounds
fn data_bounds(&self) -> DataBounds
Compute the data bounds for this series.
Auto Trait Implementations§
impl Freeze for LineSeries
impl RefUnwindSafe for LineSeries
impl Send for LineSeries
impl Sync for LineSeries
impl Unpin for LineSeries
impl UnsafeUnpin for LineSeries
impl UnwindSafe for LineSeries
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