pub struct LineChart {
pub grouping: LineGrouping,
pub vary_colors: Option<bool>,
pub series: Vec<LineSeries>,
pub marker: Option<bool>,
pub smooth: Option<bool>,
pub category_axis_id: u32,
pub value_axis_id: u32,
}Expand description
A line chart (<c:lineChart>, CT_LineChart) — like BarChart, always paired with exactly
two axes.
Not modeled: hiLowLines, upDownBars (stock-chart-style connectors, valid here but rarely
used outside stock charts, which are themselves deferred), dropLines, dLbls. See
Line3DChart for the 3D counterpart.
Fields§
§grouping: LineGrouping<c:grouping> — required by the schema (minOccurs="1", unlike BarChart::grouping,
which is genuinely optional there), so this is a plain LineGrouping rather than
Option<LineGrouping> — same reasoning as Transform2D::rotation_60000ths in drawing:
modeling a required-with-default schema element as Option breaks round-tripping an unset
value, since the writer must still emit some value and the reader then reads that value
back as Some.
vary_colors: Option<bool>§series: Vec<LineSeries>§marker: Option<bool><c:marker val=".."/> — whether markers are shown by default across every series (each
series can still override this itself, see LineSeries::marker).
smooth: Option<bool><c:smooth val=".."/> — the chart-wide curve-smoothing default (see LineSeries::smooth
for the per-series override).
category_axis_id: u32§value_axis_id: u32