#[non_exhaustive]pub struct LineChartLineStyleSettings {
pub line_visibility: Option<Visibility>,
pub line_interpolation: Option<LineInterpolation>,
pub line_style: Option<LineChartLineStyle>,
pub line_width: Option<String>,
}
Expand description
Line styles options for a line series in LineChartVisual
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.line_visibility: Option<Visibility>
Configuration option that determines whether to show the line for the series.
line_interpolation: Option<LineInterpolation>
Interpolation style for line series.
-
LINEAR
: Show as default, linear style. -
SMOOTH
: Show as a smooth curve. -
STEPPED
: Show steps in line.
line_style: 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.
line_width: Option<String>
Width that determines the line thickness.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LineChartLineStyleSettings
impl Debug for LineChartLineStyleSettings
source§impl PartialEq for LineChartLineStyleSettings
impl PartialEq for LineChartLineStyleSettings
source§fn eq(&self, other: &LineChartLineStyleSettings) -> bool
fn eq(&self, other: &LineChartLineStyleSettings) -> bool
self
and other
values to be equal, and is used
by ==
.