Compartilhar via


OfPieChart Class

Pie of Pie or Bar of Pie Charts.When the object is serialized out as xml, its qualified name is c:ofPieChart.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SeriesLines))> _
<ChildElementInfoAttribute(GetType(OfPieType))> _
<ChildElementInfoAttribute(GetType(VaryColors))> _
<ChildElementInfoAttribute(GetType(PieChartSeries))> _
<ChildElementInfoAttribute(GetType(DataLabels))> _
<ChildElementInfoAttribute(GetType(GapWidth))> _
<ChildElementInfoAttribute(GetType(SplitType))> _
<ChildElementInfoAttribute(GetType(SplitPosition))> _
<ChildElementInfoAttribute(GetType(CustomSplit))> _
<ChildElementInfoAttribute(GetType(SecondPieSize))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class OfPieChart _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OfPieChart
[ChildElementInfoAttribute(typeof(SeriesLines))]
[ChildElementInfoAttribute(typeof(OfPieType))]
[ChildElementInfoAttribute(typeof(VaryColors))]
[ChildElementInfoAttribute(typeof(PieChartSeries))]
[ChildElementInfoAttribute(typeof(DataLabels))]
[ChildElementInfoAttribute(typeof(GapWidth))]
[ChildElementInfoAttribute(typeof(SplitType))]
[ChildElementInfoAttribute(typeof(SplitPosition))]
[ChildElementInfoAttribute(typeof(CustomSplit))]
[ChildElementInfoAttribute(typeof(SecondPieSize))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class OfPieChart : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OfPieType <c:ofPieType>

  • VaryColors <c:varyColors>

  • PieChartSeries <c:ser>

  • DataLabels <c:dLbls>

  • GapWidth <c:gapWidth>

  • SplitType <c:splitType>

  • SplitPosition <c:splitPos>

  • CustomSplit <c:custSplit>

  • SecondPieSize <c:secondPieSize>

  • SeriesLines <c:serLines>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.126 ofPieChart (Pie of Pie or Bar of Pie Charts)

This element contains the pie of pie or bar of pie series on this chart. Only the first series shall be displayed. The splitType element shall determine whether the splitPos and custSplit elements apply.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

custSplit (Custom Split)

§21.2.2.35

dLbls (Data Labels)

§21.2.2.49

extLst (Chart Extensibility)

§21.2.2.64

gapWidth (Gap Width)

§21.2.2.75

ofPieType (Pie of Pie or Bar of Pie Type)

§21.2.2.127

secondPieSize (Second Pie Size)

§21.2.2.164

ser (Pie Chart Series)

§21.2.2.172

serLines (Series Lines)

§21.2.2.176

splitPos (Split Position)

§21.2.2.195

splitType (Split Type)

§21.2.2.196

varyColors (Vary Colors by Point)

§21.2.2.227

[Note: The W3C XML Schema definition of this element’s content model (CT_OfPieChart) 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

OfPieChart Members

DocumentFormat.OpenXml.Drawing.Charts Namespace