pub struct AreaView { /* private fields */ }
Expand description
View that represents area.
Implementations§
Source§impl AreaView
impl AreaView
Sourcepub fn new(x_scale: BandScale, y_scale: LinearScale) -> Self
pub fn new(x_scale: BandScale, y_scale: LinearScale) -> Self
Create a new Area.
Sourcepub fn set_fill_color(self, fill_color: Color) -> Self
pub fn set_fill_color(self, fill_color: Color) -> Self
Set area fill color.
Sourcepub fn set_stroke_color(self, stroke_color: Color) -> Self
pub fn set_stroke_color(self, stroke_color: Color) -> Self
Set area stroke color.
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 area point 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 area point stroke color.
Sourcepub fn set_point_type(self, point_type: PointType) -> Self
pub fn set_point_type(self, point_type: PointType) -> Self
Set area point type color.
Sourcepub fn set_point_visible(self, point_visible: bool) -> Self
pub fn set_point_visible(self, point_visible: bool) -> Self
Set area point 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 area point 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 area point label position.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AreaView
impl RefUnwindSafe for AreaView
impl Send for AreaView
impl Sync for AreaView
impl Unpin for AreaView
impl UnwindSafe for AreaView
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