pub struct Points { /* private fields */ }Expand description
A set of points.
Implementations§
Source§impl Points
impl Points
pub fn new(series: Values) -> Self
Sourcepub fn shape(self, shape: MarkerShape) -> Self
pub fn shape(self, shape: MarkerShape) -> Self
Set the shape of the markers.
Sourcepub fn stems(self, y_reference: impl Into<f32>) -> Self
pub fn stems(self, y_reference: impl Into<f32>) -> Self
Whether to add stems between the markers and a horizontal reference line.
Trait Implementations§
Source§impl PlotItem for Points
impl PlotItem for Points
fn shapes( &self, _ui: &mut Ui, transform: &ScreenTransform, shapes: &mut Vec<Shape>, )
fn initialize(&mut self, x_range: RangeInclusive<f64>)
fn name(&self) -> &str
fn color(&self) -> Color32
fn highlight(&mut self)
fn highlighted(&self) -> bool
fn values(&self) -> Option<&Values>
fn bounds(&self) -> Bounds
Auto Trait Implementations§
impl Freeze for Points
impl !RefUnwindSafe for Points
impl !Send for Points
impl !Sync for Points
impl Unpin for Points
impl !UnwindSafe for Points
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