#[non_exhaustive]pub struct PieChartConfigurationBuilder { /* private fields */ }Expand description
A builder for PieChartConfiguration.
Implementations§
source§impl PieChartConfigurationBuilder
impl PieChartConfigurationBuilder
sourcepub fn field_wells(self, input: PieChartFieldWells) -> Self
pub fn field_wells(self, input: PieChartFieldWells) -> Self
The field wells of the visual.
sourcepub fn set_field_wells(self, input: Option<PieChartFieldWells>) -> Self
pub fn set_field_wells(self, input: Option<PieChartFieldWells>) -> Self
The field wells of the visual.
sourcepub fn sort_configuration(self, input: PieChartSortConfiguration) -> Self
pub fn sort_configuration(self, input: PieChartSortConfiguration) -> Self
The sort configuration of a pie chart.
sourcepub fn set_sort_configuration(
self,
input: Option<PieChartSortConfiguration>
) -> Self
pub fn set_sort_configuration( self, input: Option<PieChartSortConfiguration> ) -> Self
The sort configuration of a pie chart.
sourcepub fn donut_options(self, input: DonutOptions) -> Self
pub fn donut_options(self, input: DonutOptions) -> Self
The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
sourcepub fn set_donut_options(self, input: Option<DonutOptions>) -> Self
pub fn set_donut_options(self, input: Option<DonutOptions>) -> Self
The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
sourcepub fn small_multiples_options(self, input: SmallMultiplesOptions) -> Self
pub fn small_multiples_options(self, input: SmallMultiplesOptions) -> Self
The small multiples setup for the visual.
sourcepub fn set_small_multiples_options(
self,
input: Option<SmallMultiplesOptions>
) -> Self
pub fn set_small_multiples_options( self, input: Option<SmallMultiplesOptions> ) -> Self
The small multiples setup for the visual.
sourcepub fn category_label_options(self, input: ChartAxisLabelOptions) -> Self
pub fn category_label_options(self, input: ChartAxisLabelOptions) -> Self
The label options of the group/color that is displayed in a pie chart.
sourcepub fn set_category_label_options(
self,
input: Option<ChartAxisLabelOptions>
) -> Self
pub fn set_category_label_options( self, input: Option<ChartAxisLabelOptions> ) -> Self
The label options of the group/color that is displayed in a pie chart.
sourcepub fn value_label_options(self, input: ChartAxisLabelOptions) -> Self
pub fn value_label_options(self, input: ChartAxisLabelOptions) -> Self
The label options for the value that is displayed in a pie chart.
sourcepub fn set_value_label_options(
self,
input: Option<ChartAxisLabelOptions>
) -> Self
pub fn set_value_label_options( self, input: Option<ChartAxisLabelOptions> ) -> Self
The label options for the value that is displayed in a pie chart.
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 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 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 visual_palette(self, input: VisualPalette) -> Self
pub fn visual_palette(self, input: VisualPalette) -> Self
The palette (chart color) display setup of the visual.
sourcepub fn set_visual_palette(self, input: Option<VisualPalette>) -> Self
pub fn set_visual_palette(self, input: Option<VisualPalette>) -> Self
The palette (chart color) display setup of the visual.
sourcepub fn contribution_analysis_defaults(
self,
input: ContributionAnalysisDefault
) -> Self
pub fn contribution_analysis_defaults( self, input: ContributionAnalysisDefault ) -> Self
Appends an item to contribution_analysis_defaults.
To override the contents of this collection use set_contribution_analysis_defaults.
The contribution analysis (anomaly configuration) setup of the visual.
sourcepub fn set_contribution_analysis_defaults(
self,
input: Option<Vec<ContributionAnalysisDefault>>
) -> Self
pub fn set_contribution_analysis_defaults( self, input: Option<Vec<ContributionAnalysisDefault>> ) -> Self
The contribution analysis (anomaly configuration) setup of the visual.
sourcepub fn build(self) -> PieChartConfiguration
pub fn build(self) -> PieChartConfiguration
Consumes the builder and constructs a PieChartConfiguration.
Trait Implementations§
source§impl Clone for PieChartConfigurationBuilder
impl Clone for PieChartConfigurationBuilder
source§fn clone(&self) -> PieChartConfigurationBuilder
fn clone(&self) -> PieChartConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PieChartConfigurationBuilder
impl Debug for PieChartConfigurationBuilder
source§impl Default for PieChartConfigurationBuilder
impl Default for PieChartConfigurationBuilder
source§fn default() -> PieChartConfigurationBuilder
fn default() -> PieChartConfigurationBuilder
source§impl PartialEq<PieChartConfigurationBuilder> for PieChartConfigurationBuilder
impl PartialEq<PieChartConfigurationBuilder> for PieChartConfigurationBuilder
source§fn eq(&self, other: &PieChartConfigurationBuilder) -> bool
fn eq(&self, other: &PieChartConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.