#[non_exhaustive]pub struct FunnelChartDataLabelOptions {
pub visibility: Option<Visibility>,
pub category_label_visibility: Option<Visibility>,
pub measure_label_visibility: Option<Visibility>,
pub position: Option<DataLabelPosition>,
pub label_font_configuration: Option<FontConfiguration>,
pub label_color: Option<String>,
pub measure_data_label_style: Option<FunnelChartMeasureDataLabelStyle>,
}
Expand description
The options that determine the presentation of the data labels.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.visibility: Option<Visibility>
The visibility option that determines if data labels are displayed.
category_label_visibility: Option<Visibility>
The visibility of the category labels within the data labels.
measure_label_visibility: Option<Visibility>
The visibility of the measure labels within the data labels.
position: Option<DataLabelPosition>
Determines the positioning of the data label relative to a section of the funnel.
label_font_configuration: Option<FontConfiguration>
The font configuration for the data labels.
Only the FontSize
attribute of the font configuration is used for data labels.
label_color: Option<String>
The color of the data label text.
measure_data_label_style: Option<FunnelChartMeasureDataLabelStyle>
Determines the style of the metric labels.
Implementations§
source§impl FunnelChartDataLabelOptions
impl FunnelChartDataLabelOptions
sourcepub fn visibility(&self) -> Option<&Visibility>
pub fn visibility(&self) -> Option<&Visibility>
The visibility option that determines if data labels are displayed.
sourcepub fn category_label_visibility(&self) -> Option<&Visibility>
pub fn category_label_visibility(&self) -> Option<&Visibility>
The visibility of the category labels within the data labels.
sourcepub fn measure_label_visibility(&self) -> Option<&Visibility>
pub fn measure_label_visibility(&self) -> Option<&Visibility>
The visibility of the measure labels within the data labels.
sourcepub fn position(&self) -> Option<&DataLabelPosition>
pub fn position(&self) -> Option<&DataLabelPosition>
Determines the positioning of the data label relative to a section of the funnel.
sourcepub fn label_font_configuration(&self) -> Option<&FontConfiguration>
pub fn label_font_configuration(&self) -> Option<&FontConfiguration>
The font configuration for the data labels.
Only the FontSize
attribute of the font configuration is used for data labels.
sourcepub fn label_color(&self) -> Option<&str>
pub fn label_color(&self) -> Option<&str>
The color of the data label text.
sourcepub fn measure_data_label_style(
&self
) -> Option<&FunnelChartMeasureDataLabelStyle>
pub fn measure_data_label_style( &self ) -> Option<&FunnelChartMeasureDataLabelStyle>
Determines the style of the metric labels.
source§impl FunnelChartDataLabelOptions
impl FunnelChartDataLabelOptions
sourcepub fn builder() -> FunnelChartDataLabelOptionsBuilder
pub fn builder() -> FunnelChartDataLabelOptionsBuilder
Creates a new builder-style object to manufacture FunnelChartDataLabelOptions
.
Trait Implementations§
source§impl Clone for FunnelChartDataLabelOptions
impl Clone for FunnelChartDataLabelOptions
source§fn clone(&self) -> FunnelChartDataLabelOptions
fn clone(&self) -> FunnelChartDataLabelOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunnelChartDataLabelOptions
impl Debug for FunnelChartDataLabelOptions
source§impl PartialEq for FunnelChartDataLabelOptions
impl PartialEq for FunnelChartDataLabelOptions
source§fn eq(&self, other: &FunnelChartDataLabelOptions) -> bool
fn eq(&self, other: &FunnelChartDataLabelOptions) -> bool
self
and other
values to be equal, and is used
by ==
.