#[non_exhaustive]pub struct LineChartLineStyleSettingsBuilder { /* private fields */ }
Expand description
A builder for LineChartLineStyleSettings
.
Implementations§
source§impl LineChartLineStyleSettingsBuilder
impl LineChartLineStyleSettingsBuilder
sourcepub fn line_visibility(self, input: Visibility) -> Self
pub fn line_visibility(self, input: Visibility) -> Self
Configuration option that determines whether to show the line for the series.
sourcepub fn set_line_visibility(self, input: Option<Visibility>) -> Self
pub fn set_line_visibility(self, input: Option<Visibility>) -> Self
Configuration option that determines whether to show the line for the series.
sourcepub fn get_line_visibility(&self) -> &Option<Visibility>
pub fn get_line_visibility(&self) -> &Option<Visibility>
Configuration option that determines whether to show the line for the series.
sourcepub fn line_interpolation(self, input: LineInterpolation) -> Self
pub fn line_interpolation(self, input: LineInterpolation) -> Self
Interpolation style for line series.
-
LINEAR
: Show as default, linear style. -
SMOOTH
: Show as a smooth curve. -
STEPPED
: Show steps in line.
sourcepub fn set_line_interpolation(self, input: Option<LineInterpolation>) -> Self
pub fn set_line_interpolation(self, input: Option<LineInterpolation>) -> Self
Interpolation style for line series.
-
LINEAR
: Show as default, linear style. -
SMOOTH
: Show as a smooth curve. -
STEPPED
: Show steps in line.
sourcepub fn get_line_interpolation(&self) -> &Option<LineInterpolation>
pub fn get_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, input: LineChartLineStyle) -> Self
pub fn line_style(self, input: LineChartLineStyle) -> Self
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 set_line_style(self, input: Option<LineChartLineStyle>) -> Self
pub fn set_line_style(self, input: Option<LineChartLineStyle>) -> Self
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 get_line_style(&self) -> &Option<LineChartLineStyle>
pub fn get_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, input: impl Into<String>) -> Self
pub fn line_width(self, input: impl Into<String>) -> Self
Width that determines the line thickness.
sourcepub fn set_line_width(self, input: Option<String>) -> Self
pub fn set_line_width(self, input: Option<String>) -> Self
Width that determines the line thickness.
sourcepub fn get_line_width(&self) -> &Option<String>
pub fn get_line_width(&self) -> &Option<String>
Width that determines the line thickness.
sourcepub fn build(self) -> LineChartLineStyleSettings
pub fn build(self) -> LineChartLineStyleSettings
Consumes the builder and constructs a LineChartLineStyleSettings
.
Trait Implementations§
source§impl Clone for LineChartLineStyleSettingsBuilder
impl Clone for LineChartLineStyleSettingsBuilder
source§fn clone(&self) -> LineChartLineStyleSettingsBuilder
fn clone(&self) -> LineChartLineStyleSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LineChartLineStyleSettingsBuilder
impl Default for LineChartLineStyleSettingsBuilder
source§fn default() -> LineChartLineStyleSettingsBuilder
fn default() -> LineChartLineStyleSettingsBuilder
source§impl PartialEq for LineChartLineStyleSettingsBuilder
impl PartialEq for LineChartLineStyleSettingsBuilder
source§fn eq(&self, other: &LineChartLineStyleSettingsBuilder) -> bool
fn eq(&self, other: &LineChartLineStyleSettingsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LineChartLineStyleSettingsBuilder
Auto Trait Implementations§
impl Freeze for LineChartLineStyleSettingsBuilder
impl RefUnwindSafe for LineChartLineStyleSettingsBuilder
impl Send for LineChartLineStyleSettingsBuilder
impl Sync for LineChartLineStyleSettingsBuilder
impl Unpin for LineChartLineStyleSettingsBuilder
impl UnwindSafe for LineChartLineStyleSettingsBuilder
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