Class ChartSpace
A parsed c:chartSpace, reduced to what is needed to draw the chart from its
cached values.
public sealed class ChartSpace
- Inheritance
-
ChartSpace
- Inherited Members
Remarks
This is a projection for rendering, not the round-trip representation. The chart
part itself stays in DocumentPreservation verbatim and the writer re-emits
those bytes, so nothing here has to be complete enough to write back — the same
arrangement the content-control model uses over its preserved w:sdtPr.
Constructors
Properties
- Axes
Gets the axes, in document order.
- ChartAreaFill
Gets or sets the chart area's fill (
c:chartSpace/c:spPr/a:solidFill), or null when it is not painted.
- ChartAreaLine
Gets or sets the chart area's frame line (
c:chartSpace/c:spPr/a:ln), or null when the engine default applies.
- HasChartAreaBorder
Gets or sets whether the chart area is framed (c:chartSpace/c:spPr/a:ln).
- HasLegend
Gets or sets whether a legend is drawn.
- LegendPosition
Gets or sets where the legend sits.
- LegendStyle
Gets or sets the legend's text properties (
c:legend/c:txPr), or null when inherited.
- PlotAreaBorder
Gets or sets whether the plot area is drawn with a border.
- PlotAreaLine
Gets or sets the plot area's own frame line (
c:plotArea/c:spPr/a:ln), or null when it has none.
- Plots
Gets the plots, in document order.
- PrimaryPlot
Gets the first plot, or null when the chart declares none.
- TextStyle
Gets or sets the text properties every element inherits (
c:chartSpace/c:txPr), or null.
- Title
Gets or sets the cached chart title, or null when the chart has none.
- TitleStyle
Gets or sets the chart title's text properties, or null when inherited.
Methods
- Clone()
Creates a copy.
- FindAxis(ChartAxisKind)
Finds an axis by kind.