#[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 ==
.impl StructuralPartialEq for SmallMultiplesOptionsBuilder
Auto Trait Implementations§
impl Freeze for SmallMultiplesOptionsBuilder
impl RefUnwindSafe for SmallMultiplesOptionsBuilder
impl Send for SmallMultiplesOptionsBuilder
impl Sync for SmallMultiplesOptionsBuilder
impl Unpin for SmallMultiplesOptionsBuilder
impl UnwindSafe for SmallMultiplesOptionsBuilder
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> 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