#[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
impl StructuralPartialEq for LineChartLineStyleSettings
Auto Trait Implementations§
impl Freeze for LineChartLineStyleSettings
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more