#[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 ==
.