Table of Contents

Class ChartSeries

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

One data series, carrying the values Word cached in the document rather than a live reference to a workbook.

public sealed class ChartSeries
Inheritance
ChartSeries
Inherited Members

Remarks

A chart part records both a formula (c:f) naming cells in an embedded workbook and a cache of the values those cells held when the chart was last drawn (c:numCache/c:strCache). DocWright reads only the cache: it is what Word itself paints until the chart is refreshed, and it needs no workbook parser.

Constructors

ChartSeries()

Properties

Categories

Gets the cached category labels (c:cat), in point order.

Color

Gets or sets the explicit series fill colour (c:spPr/a:solidFill) when it is a plain sRGB value, or null to take a theme colour. Fill carries the same fill including theme references and their transforms; this member is the sRGB projection.

DataLabelStyle

Gets or sets the data labels' text properties (c:dLbls/c:txPr), or null when inherited.

Fill

Gets or sets the explicit series fill (c:spPr/a:solidFill), theme references included, or null to take a theme accent.

Index

Gets or sets the series index (c:idx).

Line

Gets or sets the series outline (c:spPr/a:ln), or null when the engine default applies. For a line or scatter series this is the line itself; for a bar, area or pie series it is the border around each point.

LineHidden

Gets or sets whether a line or scatter series draws no connecting line.

MarkerFill

Gets or sets the marker fill (c:marker/c:spPr/a:solidFill), or null when the marker takes the line's colour.

MarkerLine

Gets or sets the marker outline (c:marker/c:spPr/a:ln), or null when the marker takes the line's colour.

MarkerSize

Gets or sets the marker size in points (c:marker/c:size), or null when the automatic size applies.

MarkerSymbol

Gets or sets the marker symbol (c:marker/c:symbol), or null when the series states none and the automatic symbol applies.

Name

Gets or sets the cached series name (c:tx), or null when it has none.

NoFill

Gets or sets whether the series states no fill (c:spPr/a:noFill).

Order

Gets or sets the series plot order (c:order).

PointColors

Gets the per-point explicit sRGB colours (c:dPt), keyed by point index. PointFills carries the same fills with theme references.

PointFills

Gets the per-point explicit fills (c:dPt/c:spPr/a:solidFill), theme references included, keyed by point index.

PointLines

Gets the per-point explicit outlines (c:dPt/c:spPr/a:ln), keyed by point index.

ShowValueLabels

Gets or sets whether each point's value is labelled (c:dLbls/c:showVal).

Smooth

Gets or sets whether a line series is drawn smoothed (c:smooth).

Values

Gets the cached values (c:val), in point order; null entries are gaps.

XValues

Gets the cached x values of a scatter series (c:xVal); empty otherwise.

Methods

Clone()

Creates a copy.