#[non_exhaustive]pub struct LineChartLineStyleSettings { /* private fields */ }Expand description
Line styles options for a line series in LineChartVisual.
Implementations§
source§impl LineChartLineStyleSettings
impl LineChartLineStyleSettings
sourcepub fn line_visibility(&self) -> Option<&Visibility>
pub fn line_visibility(&self) -> Option<&Visibility>
Configuration option that determines whether to show the line for the series.
sourcepub fn line_interpolation(&self) -> Option<&LineInterpolation>
pub fn line_interpolation(&self) -> Option<&LineInterpolation>
Interpolation style for line series.
-
LINEAR: Show as default, linear style. -
SMOOTH: Show as a smooth curve. -
STEPPED: Show steps in line.
sourcepub fn line_style(&self) -> Option<&LineChartLineStyle>
pub fn line_style(&self) -> Option<&LineChartLineStyle>
Line style for line series.
-
SOLID: Show as a solid line. -
DOTTED: Show as a dotted line. -
DASHED: Show as a dashed line.
sourcepub fn line_width(&self) -> Option<&str>
pub fn line_width(&self) -> Option<&str>
Width that determines the line thickness.
source§impl LineChartLineStyleSettings
impl LineChartLineStyleSettings
sourcepub fn builder() -> LineChartLineStyleSettingsBuilder
pub fn builder() -> LineChartLineStyleSettingsBuilder
Creates a new builder-style object to manufacture LineChartLineStyleSettings.
Trait Implementations§
source§impl Clone for LineChartLineStyleSettings
impl Clone for LineChartLineStyleSettings
source§fn clone(&self) -> LineChartLineStyleSettings
fn clone(&self) -> LineChartLineStyleSettings
Returns a copy 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 moresource§impl Debug for LineChartLineStyleSettings
impl Debug for LineChartLineStyleSettings
source§impl PartialEq<LineChartLineStyleSettings> for LineChartLineStyleSettings
impl PartialEq<LineChartLineStyleSettings> for LineChartLineStyleSettings
source§fn eq(&self, other: &LineChartLineStyleSettings) -> bool
fn eq(&self, other: &LineChartLineStyleSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LineChartLineStyleSettings
Auto Trait Implementations§
impl RefUnwindSafe for LineChartLineStyleSettings
impl Send for LineChartLineStyleSettings
impl Sync for LineChartLineStyleSettings
impl Unpin for LineChartLineStyleSettings
impl UnwindSafe for LineChartLineStyleSettings
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