pub struct AreaChart {
pub grouping: Option<LineGrouping>,
pub vary_colors: Option<bool>,
pub series: Vec<AreaSeries>,
pub category_axis_id: u32,
pub value_axis_id: u32,
}Expand description
An area chart (<c:areaChart>, CT_AreaChart) — like BarChart/ LineChart, always
paired with exactly two axes.
Not modeled: dropLines, dLbls. See Area3DChart for the 3D counterpart.
Fields§
§grouping: Option<LineGrouping><c:grouping> — genuinely optional here (EG_AreaChartShared, minOccurs="0"), unlike
LineChart::grouping (EG_LineChartShared, minOccurs="1") — deliberately kept
Option<LineGrouping> (reusing the same enum; ST_Grouping is identical for both line and
area charts). Modeling a schema-required element as Option would be a round-tripping
hazard, but this element genuinely is optional here.
vary_colors: Option<bool>§series: Vec<AreaSeries>§category_axis_id: u32§value_axis_id: u32Implementations§
Source§impl AreaChart
impl AreaChart
pub fn new(category_axis_id: u32, value_axis_id: u32) -> AreaChart
pub fn with_grouping(self, grouping: LineGrouping) -> AreaChart
pub fn with_vary_colors(self, vary: bool) -> AreaChart
pub fn with_series(self, series: AreaSeries) -> AreaChart
Trait Implementations§
impl StructuralPartialEq for AreaChart
Auto Trait Implementations§
impl Freeze for AreaChart
impl RefUnwindSafe for AreaChart
impl Send for AreaChart
impl Sync for AreaChart
impl Unpin for AreaChart
impl UnsafeUnpin for AreaChart
impl UnwindSafe for AreaChart
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