#[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 ==
.impl StructuralPartialEq for FunnelChartDataLabelOptions
Auto Trait Implementations§
impl Freeze for FunnelChartDataLabelOptions
impl RefUnwindSafe for FunnelChartDataLabelOptions
impl Send for FunnelChartDataLabelOptions
impl Sync for FunnelChartDataLabelOptions
impl Unpin for FunnelChartDataLabelOptions
impl UnwindSafe for FunnelChartDataLabelOptions
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