#[non_exhaustive]pub struct SmallMultiplesOptionsBuilder { /* private fields */ }
Expand description
A builder for SmallMultiplesOptions
.
Implementations§
source§impl SmallMultiplesOptionsBuilder
impl SmallMultiplesOptionsBuilder
sourcepub fn max_visible_rows(self, input: i64) -> Self
pub fn max_visible_rows(self, input: i64) -> Self
Sets the maximum number of visible rows to display in the grid of small multiples panels.
The default value is Auto
, which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.
sourcepub fn set_max_visible_rows(self, input: Option<i64>) -> Self
pub fn set_max_visible_rows(self, input: Option<i64>) -> Self
Sets the maximum number of visible rows to display in the grid of small multiples panels.
The default value is Auto
, which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.
sourcepub fn get_max_visible_rows(&self) -> &Option<i64>
pub fn get_max_visible_rows(&self) -> &Option<i64>
Sets the maximum number of visible rows to display in the grid of small multiples panels.
The default value is Auto
, which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.
sourcepub fn max_visible_columns(self, input: i64) -> Self
pub fn max_visible_columns(self, input: i64) -> Self
Sets the maximum number of visible columns to display in the grid of small multiples panels.
The default is Auto
, which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.
sourcepub fn set_max_visible_columns(self, input: Option<i64>) -> Self
pub fn set_max_visible_columns(self, input: Option<i64>) -> Self
Sets the maximum number of visible columns to display in the grid of small multiples panels.
The default is Auto
, which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.
sourcepub fn get_max_visible_columns(&self) -> &Option<i64>
pub fn get_max_visible_columns(&self) -> &Option<i64>
Sets the maximum number of visible columns to display in the grid of small multiples panels.
The default is Auto
, which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.
sourcepub fn panel_configuration(self, input: PanelConfiguration) -> Self
pub fn panel_configuration(self, input: PanelConfiguration) -> Self
Configures the display options for each small multiples panel.
sourcepub fn set_panel_configuration(self, input: Option<PanelConfiguration>) -> Self
pub fn set_panel_configuration(self, input: Option<PanelConfiguration>) -> Self
Configures the display options for each small multiples panel.
sourcepub fn get_panel_configuration(&self) -> &Option<PanelConfiguration>
pub fn get_panel_configuration(&self) -> &Option<PanelConfiguration>
Configures the display options for each small multiples panel.
sourcepub fn x_axis(self, input: SmallMultiplesAxisProperties) -> Self
pub fn x_axis(self, input: SmallMultiplesAxisProperties) -> Self
The properties of a small multiples X axis.
sourcepub fn set_x_axis(self, input: Option<SmallMultiplesAxisProperties>) -> Self
pub fn set_x_axis(self, input: Option<SmallMultiplesAxisProperties>) -> Self
The properties of a small multiples X axis.
sourcepub fn get_x_axis(&self) -> &Option<SmallMultiplesAxisProperties>
pub fn get_x_axis(&self) -> &Option<SmallMultiplesAxisProperties>
The properties of a small multiples X axis.
sourcepub fn y_axis(self, input: SmallMultiplesAxisProperties) -> Self
pub fn y_axis(self, input: SmallMultiplesAxisProperties) -> Self
The properties of a small multiples Y axis.
sourcepub fn set_y_axis(self, input: Option<SmallMultiplesAxisProperties>) -> Self
pub fn set_y_axis(self, input: Option<SmallMultiplesAxisProperties>) -> Self
The properties of a small multiples Y axis.
sourcepub fn get_y_axis(&self) -> &Option<SmallMultiplesAxisProperties>
pub fn get_y_axis(&self) -> &Option<SmallMultiplesAxisProperties>
The properties of a small multiples Y axis.
sourcepub fn build(self) -> SmallMultiplesOptions
pub fn build(self) -> SmallMultiplesOptions
Consumes the builder and constructs a SmallMultiplesOptions
.
Trait Implementations§
source§impl Clone for SmallMultiplesOptionsBuilder
impl Clone for SmallMultiplesOptionsBuilder
source§fn clone(&self) -> SmallMultiplesOptionsBuilder
fn clone(&self) -> SmallMultiplesOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SmallMultiplesOptionsBuilder
impl Debug for SmallMultiplesOptionsBuilder
source§impl Default for SmallMultiplesOptionsBuilder
impl Default for SmallMultiplesOptionsBuilder
source§fn default() -> SmallMultiplesOptionsBuilder
fn default() -> SmallMultiplesOptionsBuilder
source§impl PartialEq for SmallMultiplesOptionsBuilder
impl PartialEq for SmallMultiplesOptionsBuilder
source§fn eq(&self, other: &SmallMultiplesOptionsBuilder) -> bool
fn eq(&self, other: &SmallMultiplesOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.