#[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 get_field_wells(&self) -> &Option<PieChartFieldWells>
pub fn get_field_wells(&self) -> &Option<PieChartFieldWells>
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 get_sort_configuration(&self) -> &Option<PieChartSortConfiguration>
pub fn get_sort_configuration(&self) -> &Option<PieChartSortConfiguration>
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 get_donut_options(&self) -> &Option<DonutOptions>
pub fn get_donut_options(&self) -> &Option<DonutOptions>
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 get_small_multiples_options(&self) -> &Option<SmallMultiplesOptions>
pub fn get_small_multiples_options(&self) -> &Option<SmallMultiplesOptions>
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 get_category_label_options(&self) -> &Option<ChartAxisLabelOptions>
pub fn get_category_label_options(&self) -> &Option<ChartAxisLabelOptions>
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 get_value_label_options(&self) -> &Option<ChartAxisLabelOptions>
pub fn get_value_label_options(&self) -> &Option<ChartAxisLabelOptions>
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 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 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 get_visual_palette(&self) -> &Option<VisualPalette>
pub fn get_visual_palette(&self) -> &Option<VisualPalette>
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 get_contribution_analysis_defaults(
&self,
) -> &Option<Vec<ContributionAnalysisDefault>>
pub fn get_contribution_analysis_defaults( &self, ) -> &Option<Vec<ContributionAnalysisDefault>>
The contribution analysis (anomaly configuration) 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) -> 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 for PieChartConfigurationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for PieChartConfigurationBuilder
Auto Trait Implementations§
impl Freeze for PieChartConfigurationBuilder
impl RefUnwindSafe for PieChartConfigurationBuilder
impl Send for PieChartConfigurationBuilder
impl Sync for PieChartConfigurationBuilder
impl Unpin for PieChartConfigurationBuilder
impl UnwindSafe for PieChartConfigurationBuilder
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