#[non_exhaustive]pub struct TreeMapConfigurationBuilder { /* private fields */ }
Expand description
A builder for TreeMapConfiguration
.
Implementations§
source§impl TreeMapConfigurationBuilder
impl TreeMapConfigurationBuilder
sourcepub fn field_wells(self, input: TreeMapFieldWells) -> Self
pub fn field_wells(self, input: TreeMapFieldWells) -> Self
The field wells of the visual.
sourcepub fn set_field_wells(self, input: Option<TreeMapFieldWells>) -> Self
pub fn set_field_wells(self, input: Option<TreeMapFieldWells>) -> Self
The field wells of the visual.
sourcepub fn get_field_wells(&self) -> &Option<TreeMapFieldWells>
pub fn get_field_wells(&self) -> &Option<TreeMapFieldWells>
The field wells of the visual.
sourcepub fn sort_configuration(self, input: TreeMapSortConfiguration) -> Self
pub fn sort_configuration(self, input: TreeMapSortConfiguration) -> Self
The sort configuration of a tree map.
sourcepub fn set_sort_configuration(
self,
input: Option<TreeMapSortConfiguration>,
) -> Self
pub fn set_sort_configuration( self, input: Option<TreeMapSortConfiguration>, ) -> Self
The sort configuration of a tree map.
sourcepub fn get_sort_configuration(&self) -> &Option<TreeMapSortConfiguration>
pub fn get_sort_configuration(&self) -> &Option<TreeMapSortConfiguration>
The sort configuration of a tree map.
sourcepub fn group_label_options(self, input: ChartAxisLabelOptions) -> Self
pub fn group_label_options(self, input: ChartAxisLabelOptions) -> Self
The label options (label text, label visibility) of the groups that are displayed in a tree map.
sourcepub fn set_group_label_options(
self,
input: Option<ChartAxisLabelOptions>,
) -> Self
pub fn set_group_label_options( self, input: Option<ChartAxisLabelOptions>, ) -> Self
The label options (label text, label visibility) of the groups that are displayed in a tree map.
sourcepub fn get_group_label_options(&self) -> &Option<ChartAxisLabelOptions>
pub fn get_group_label_options(&self) -> &Option<ChartAxisLabelOptions>
The label options (label text, label visibility) of the groups that are displayed in a tree map.
sourcepub fn size_label_options(self, input: ChartAxisLabelOptions) -> Self
pub fn size_label_options(self, input: ChartAxisLabelOptions) -> Self
The label options (label text, label visibility) of the sizes that are displayed in a tree map.
sourcepub fn set_size_label_options(
self,
input: Option<ChartAxisLabelOptions>,
) -> Self
pub fn set_size_label_options( self, input: Option<ChartAxisLabelOptions>, ) -> Self
The label options (label text, label visibility) of the sizes that are displayed in a tree map.
sourcepub fn get_size_label_options(&self) -> &Option<ChartAxisLabelOptions>
pub fn get_size_label_options(&self) -> &Option<ChartAxisLabelOptions>
The label options (label text, label visibility) of the sizes that are displayed in a tree map.
sourcepub fn color_label_options(self, input: ChartAxisLabelOptions) -> Self
pub fn color_label_options(self, input: ChartAxisLabelOptions) -> Self
The label options (label text, label visibility) for the colors displayed in a tree map.
sourcepub fn set_color_label_options(
self,
input: Option<ChartAxisLabelOptions>,
) -> Self
pub fn set_color_label_options( self, input: Option<ChartAxisLabelOptions>, ) -> Self
The label options (label text, label visibility) for the colors displayed in a tree map.
sourcepub fn get_color_label_options(&self) -> &Option<ChartAxisLabelOptions>
pub fn get_color_label_options(&self) -> &Option<ChartAxisLabelOptions>
The label options (label text, label visibility) for the colors displayed in a tree map.
sourcepub fn color_scale(self, input: ColorScale) -> Self
pub fn color_scale(self, input: ColorScale) -> Self
The color options (gradient color, point of divergence) of a tree map.
sourcepub fn set_color_scale(self, input: Option<ColorScale>) -> Self
pub fn set_color_scale(self, input: Option<ColorScale>) -> Self
The color options (gradient color, point of divergence) of a tree map.
sourcepub fn get_color_scale(&self) -> &Option<ColorScale>
pub fn get_color_scale(&self) -> &Option<ColorScale>
The color options (gradient color, point of divergence) of a tree map.
sourcepub fn legend(self, input: LegendOptions) -> Self
pub fn legend(self, input: LegendOptions) -> Self
The legend display setup of the visual.
sourcepub fn set_legend(self, input: Option<LegendOptions>) -> Self
pub fn set_legend(self, input: Option<LegendOptions>) -> Self
The legend display setup of the visual.
sourcepub fn get_legend(&self) -> &Option<LegendOptions>
pub fn get_legend(&self) -> &Option<LegendOptions>
The legend display setup of the visual.
sourcepub fn data_labels(self, input: DataLabelOptions) -> Self
pub fn data_labels(self, input: DataLabelOptions) -> Self
The options that determine if visual data labels are displayed.
sourcepub fn set_data_labels(self, input: Option<DataLabelOptions>) -> Self
pub fn set_data_labels(self, input: Option<DataLabelOptions>) -> Self
The options that determine if visual data labels are displayed.
sourcepub fn get_data_labels(&self) -> &Option<DataLabelOptions>
pub fn get_data_labels(&self) -> &Option<DataLabelOptions>
The options that determine if visual data labels are displayed.
sourcepub fn tooltip(self, input: TooltipOptions) -> Self
pub fn tooltip(self, input: TooltipOptions) -> Self
The tooltip display setup of the visual.
sourcepub fn set_tooltip(self, input: Option<TooltipOptions>) -> Self
pub fn set_tooltip(self, input: Option<TooltipOptions>) -> Self
The tooltip display setup of the visual.
sourcepub fn get_tooltip(&self) -> &Option<TooltipOptions>
pub fn get_tooltip(&self) -> &Option<TooltipOptions>
The tooltip display setup of the visual.
sourcepub fn interactions(self, input: VisualInteractionOptions) -> Self
pub fn interactions(self, input: VisualInteractionOptions) -> Self
The general visual interactions setup for a visual.
sourcepub fn set_interactions(self, input: Option<VisualInteractionOptions>) -> Self
pub fn set_interactions(self, input: Option<VisualInteractionOptions>) -> Self
The general visual interactions setup for a visual.
sourcepub fn get_interactions(&self) -> &Option<VisualInteractionOptions>
pub fn get_interactions(&self) -> &Option<VisualInteractionOptions>
The general visual interactions setup for a visual.
sourcepub fn build(self) -> TreeMapConfiguration
pub fn build(self) -> TreeMapConfiguration
Consumes the builder and constructs a TreeMapConfiguration
.
Trait Implementations§
source§impl Clone for TreeMapConfigurationBuilder
impl Clone for TreeMapConfigurationBuilder
source§fn clone(&self) -> TreeMapConfigurationBuilder
fn clone(&self) -> TreeMapConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TreeMapConfigurationBuilder
impl Debug for TreeMapConfigurationBuilder
source§impl Default for TreeMapConfigurationBuilder
impl Default for TreeMapConfigurationBuilder
source§fn default() -> TreeMapConfigurationBuilder
fn default() -> TreeMapConfigurationBuilder
impl StructuralPartialEq for TreeMapConfigurationBuilder
Auto Trait Implementations§
impl Freeze for TreeMapConfigurationBuilder
impl RefUnwindSafe for TreeMapConfigurationBuilder
impl Send for TreeMapConfigurationBuilder
impl Sync for TreeMapConfigurationBuilder
impl Unpin for TreeMapConfigurationBuilder
impl UnwindSafe for TreeMapConfigurationBuilder
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