#[non_exhaustive]pub struct AxisDisplayOptionsBuilder { /* private fields */ }Expand description
A builder for AxisDisplayOptions.
Implementations§
source§impl AxisDisplayOptionsBuilder
impl AxisDisplayOptionsBuilder
sourcepub fn tick_label_options(self, input: AxisTickLabelOptions) -> Self
pub fn tick_label_options(self, input: AxisTickLabelOptions) -> Self
The tick label options of an axis.
sourcepub fn set_tick_label_options(self, input: Option<AxisTickLabelOptions>) -> Self
pub fn set_tick_label_options(self, input: Option<AxisTickLabelOptions>) -> Self
The tick label options of an axis.
sourcepub fn axis_line_visibility(self, input: Visibility) -> Self
pub fn axis_line_visibility(self, input: Visibility) -> Self
Determines whether or not the axis line is visible.
sourcepub fn set_axis_line_visibility(self, input: Option<Visibility>) -> Self
pub fn set_axis_line_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not the axis line is visible.
sourcepub fn grid_line_visibility(self, input: Visibility) -> Self
pub fn grid_line_visibility(self, input: Visibility) -> Self
Determines whether or not the grid line is visible.
sourcepub fn set_grid_line_visibility(self, input: Option<Visibility>) -> Self
pub fn set_grid_line_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not the grid line is visible.
sourcepub fn data_options(self, input: AxisDataOptions) -> Self
pub fn data_options(self, input: AxisDataOptions) -> Self
The data options for an axis.
sourcepub fn set_data_options(self, input: Option<AxisDataOptions>) -> Self
pub fn set_data_options(self, input: Option<AxisDataOptions>) -> Self
The data options for an axis.
sourcepub fn scrollbar_options(self, input: ScrollBarOptions) -> Self
pub fn scrollbar_options(self, input: ScrollBarOptions) -> Self
The scroll bar options for an axis.
sourcepub fn set_scrollbar_options(self, input: Option<ScrollBarOptions>) -> Self
pub fn set_scrollbar_options(self, input: Option<ScrollBarOptions>) -> Self
The scroll bar options for an axis.
sourcepub fn axis_offset(self, input: impl Into<String>) -> Self
pub fn axis_offset(self, input: impl Into<String>) -> Self
The offset value that determines the starting placement of the axis within a visual's bounds.
sourcepub fn set_axis_offset(self, input: Option<String>) -> Self
pub fn set_axis_offset(self, input: Option<String>) -> Self
The offset value that determines the starting placement of the axis within a visual's bounds.
sourcepub fn build(self) -> AxisDisplayOptions
pub fn build(self) -> AxisDisplayOptions
Consumes the builder and constructs a AxisDisplayOptions.
Trait Implementations§
source§impl Clone for AxisDisplayOptionsBuilder
impl Clone for AxisDisplayOptionsBuilder
source§fn clone(&self) -> AxisDisplayOptionsBuilder
fn clone(&self) -> AxisDisplayOptionsBuilder
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 AxisDisplayOptionsBuilder
impl Debug for AxisDisplayOptionsBuilder
source§impl Default for AxisDisplayOptionsBuilder
impl Default for AxisDisplayOptionsBuilder
source§fn default() -> AxisDisplayOptionsBuilder
fn default() -> AxisDisplayOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AxisDisplayOptionsBuilder> for AxisDisplayOptionsBuilder
impl PartialEq<AxisDisplayOptionsBuilder> for AxisDisplayOptionsBuilder
source§fn eq(&self, other: &AxisDisplayOptionsBuilder) -> bool
fn eq(&self, other: &AxisDisplayOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.