#[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 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
source§impl PartialEq for TreeMapConfigurationBuilder
impl PartialEq for TreeMapConfigurationBuilder
source§fn eq(&self, other: &TreeMapConfigurationBuilder) -> bool
fn eq(&self, other: &TreeMapConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.