Partager via


PieChartSeries Class

Pie Chart Series.When the object is serialized out as xml, its qualified name is c:ser.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.PieChartSeries

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Index))> _
<ChildElementInfoAttribute(GetType(Order))> _
<ChildElementInfoAttribute(GetType(SeriesText))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(PictureOptions))> _
<ChildElementInfoAttribute(GetType(Explosion))> _
<ChildElementInfoAttribute(GetType(DataPoint))> _
<ChildElementInfoAttribute(GetType(DataLabels))> _
<ChildElementInfoAttribute(GetType(CategoryAxisData))> _
<ChildElementInfoAttribute(GetType(Values))> _
<ChildElementInfoAttribute(GetType(Bubble3D))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(Smooth))> _
Public Class PieChartSeries _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PieChartSeries
[ChildElementInfoAttribute(typeof(Index))]
[ChildElementInfoAttribute(typeof(Order))]
[ChildElementInfoAttribute(typeof(SeriesText))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(PictureOptions))]
[ChildElementInfoAttribute(typeof(Explosion))]
[ChildElementInfoAttribute(typeof(DataPoint))]
[ChildElementInfoAttribute(typeof(DataLabels))]
[ChildElementInfoAttribute(typeof(CategoryAxisData))]
[ChildElementInfoAttribute(typeof(Values))]
[ChildElementInfoAttribute(typeof(Bubble3D))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(Smooth))]
public class PieChartSeries : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Index <c:idx>

  • Order <c:order>

  • SeriesText <c:tx>

  • ChartShapeProperties <c:spPr>

  • PictureOptions <c:pictureOptions>

  • Explosion <c:explosion>

  • DataPoint <c:dPt>

  • DataLabels <c:dLbls>

  • CategoryAxisData <c:cat>

  • Values <c:val>

  • Bubble3D <c:bubble3D>

  • ExtensionList <c:extLst>

  • Smooth <c:smooth>

[ISO/IEC 29500-1 1st Edition]

21.2.2.172 ser (Pie Chart Series)

This element specifies a series on a doughnut or pie chart.

Parent Elements

doughnutChart (§21.2.2.50); ofPieChart (§21.2.2.126); pie3DChart (§21.2.2.140); pieChart (§21.2.2.141)

Child Elements

Subclause

cat (Category Axis Data)

§21.2.2.24

dLbls (Data Labels)

§21.2.2.49

dPt (Data Point)

§21.2.2.52

explosion (Explosion)

§21.2.2.61

extLst (Chart Extensibility)

§21.2.2.64

idx (Index)

§21.2.2.84

order (Order)

§21.2.2.128

spPr (Shape Properties)

§21.2.2.197

tx (Series Text)

§21.2.2.215

val (Values)

§21.2.2.224

[Note: The W3C XML Schema definition of this element’s content model (CT_PieSer) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PieChartSeries Members

DocumentFormat.OpenXml.Drawing.Charts Namespace