pub struct ScatterSeries {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub label: Option<String>,
pub color: Option<Color>,
pub radius: Option<f64>,
}Expand description
A scatter series rendering individual data points as circles.
Fields§
§x: Vec<f64>X values.
y: Vec<f64>Y values.
label: Option<String>Optional series label.
color: Option<Color>Override color.
radius: Option<f64>Override point radius.
Implementations§
Trait Implementations§
Source§impl Clone for ScatterSeries
impl Clone for ScatterSeries
Source§fn clone(&self) -> ScatterSeries
fn clone(&self) -> ScatterSeries
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 ScatterSeries
impl Debug for ScatterSeries
Source§impl SeriesRenderer for ScatterSeries
impl SeriesRenderer for ScatterSeries
Source§fn data_bounds(&self) -> DataBounds
fn data_bounds(&self) -> DataBounds
Compute the data bounds for this series.
Auto Trait Implementations§
impl Freeze for ScatterSeries
impl RefUnwindSafe for ScatterSeries
impl Send for ScatterSeries
impl Sync for ScatterSeries
impl Unpin for ScatterSeries
impl UnsafeUnpin for ScatterSeries
impl UnwindSafe for ScatterSeries
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