pub struct WaterfallChartSeries {
pub custom_subtotals: Option<Vec<WaterfallChartCustomSubtotal>>,
pub data: Option<ChartData>,
pub data_label: Option<DataLabel>,
pub hide_trailing_subtotal: Option<bool>,
pub negative_columns_style: Option<WaterfallChartColumnStyle>,
pub positive_columns_style: Option<WaterfallChartColumnStyle>,
pub subtotal_columns_style: Option<WaterfallChartColumnStyle>,
}
Expand description
A single series of data for a waterfall chart.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_subtotals: Option<Vec<WaterfallChartCustomSubtotal>>
Custom subtotal columns appearing in this series. The order in which subtotals are defined is not significant. Only one subtotal may be defined for each data point.
data: Option<ChartData>
The data being visualized in this series.
data_label: Option<DataLabel>
Information about the data labels for this series.
hide_trailing_subtotal: Option<bool>
True to hide the subtotal column from the end of the series. By default, a subtotal column will appear at the end of each series. Setting this field to true will hide that subtotal column for this series.
negative_columns_style: Option<WaterfallChartColumnStyle>
Styles for all columns in this series with negative values.
positive_columns_style: Option<WaterfallChartColumnStyle>
Styles for all columns in this series with positive values.
subtotal_columns_style: Option<WaterfallChartColumnStyle>
Styles for all subtotal columns in this series.
Trait Implementations§
Source§impl Clone for WaterfallChartSeries
impl Clone for WaterfallChartSeries
Source§fn clone(&self) -> WaterfallChartSeries
fn clone(&self) -> WaterfallChartSeries
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WaterfallChartSeries
impl Debug for WaterfallChartSeries
Source§impl Default for WaterfallChartSeries
impl Default for WaterfallChartSeries
Source§fn default() -> WaterfallChartSeries
fn default() -> WaterfallChartSeries
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WaterfallChartSeries
impl<'de> Deserialize<'de> for WaterfallChartSeries
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for WaterfallChartSeries
impl Serialize for WaterfallChartSeries
impl Part for WaterfallChartSeries
Auto Trait Implementations§
impl Freeze for WaterfallChartSeries
impl RefUnwindSafe for WaterfallChartSeries
impl Send for WaterfallChartSeries
impl Sync for WaterfallChartSeries
impl Unpin for WaterfallChartSeries
impl UnwindSafe for WaterfallChartSeries
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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