pub struct ScatterView { /* private fields */ }
Expand description
ScatterView represents separated points view.
Implementations§
Source§impl ScatterView
impl ScatterView
Sourcepub fn new(x_scale: LinearScale, y_scale: LinearScale) -> Self
pub fn new(x_scale: LinearScale, y_scale: LinearScale) -> Self
Create a new ScatterView.
Sourcepub fn set_point_fill_color(self, point_fill_color: Color) -> Self
pub fn set_point_fill_color(self, point_fill_color: Color) -> Self
Set scatter points fill color.
Sourcepub fn set_point_stroke_color(self, point_stroke_color: Color) -> Self
pub fn set_point_stroke_color(self, point_stroke_color: Color) -> Self
Set scatter points stroke color.
Sourcepub fn set_point_type(self, point_type: PointType) -> Self
pub fn set_point_type(self, point_type: PointType) -> Self
Set scatter points type.
Sourcepub fn set_point_visible(self, point_visible: bool) -> Self
pub fn set_point_visible(self, point_visible: bool) -> Self
Set scatter points visibility.
Sourcepub fn set_point_label_visible(self, point_label_visible: bool) -> Self
pub fn set_point_label_visible(self, point_label_visible: bool) -> Self
Set scatter points label visibility.
Sourcepub fn set_point_label_position(
self,
point_label_position: PointLabelPosition,
) -> Self
pub fn set_point_label_position( self, point_label_position: PointLabelPosition, ) -> Self
Set scatter points label position.
Trait Implementations§
Source§impl Clone for ScatterView
impl Clone for ScatterView
Source§fn clone(&self) -> ScatterView
fn clone(&self) -> ScatterView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ScatterView
impl RefUnwindSafe for ScatterView
impl Send for ScatterView
impl Sync for ScatterView
impl Unpin for ScatterView
impl UnwindSafe for ScatterView
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