Skip to main content

PlotAreaExt

Trait PlotAreaExt 

Source
pub trait PlotAreaExt {
    // Required method
    fn chart_types(&self) -> Vec<ChartKind>;
}
Expand description

Extension trait for PlotArea providing access to contained chart types.

Corresponds to ECMA-376 §21.2.2.145 (CT_PlotArea).

Required Methods§

Source

fn chart_types(&self) -> Vec<ChartKind>

All chart kinds present in this plot area.

Returns one entry per chart type present. A combined chart (e.g. bar + line) returns multiple entries in the order they appear in the XML.

Implementors§

Source§

impl PlotAreaExt for PlotArea

Available on crate feature dml-charts only.