共用方式為


DoughnutChart Class

Doughnut Charts.When the object is serialized out as xml, its qualified name is c:doughnutChart.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(DataLabels))> _
<ChildElementInfoAttribute(GetType(PieChartSeries))> _
<ChildElementInfoAttribute(GetType(FirstSliceAngle))> _
<ChildElementInfoAttribute(GetType(VaryColors))> _
<ChildElementInfoAttribute(GetType(HoleSize))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class DoughnutChart _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As DoughnutChart
[ChildElementInfoAttribute(typeof(DataLabels))]
[ChildElementInfoAttribute(typeof(PieChartSeries))]
[ChildElementInfoAttribute(typeof(FirstSliceAngle))]
[ChildElementInfoAttribute(typeof(VaryColors))]
[ChildElementInfoAttribute(typeof(HoleSize))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class DoughnutChart : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • VaryColors <c:varyColors>

  • PieChartSeries <c:ser>

  • DataLabels <c:dLbls>

  • FirstSliceAngle <c:firstSliceAng>

  • HoleSize <c:holeSize>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.50 doughnutChart (Doughnut Charts)

This element contains the doughnut chart series.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

dLbls (Data Labels)

§21.2.2.49

extLst (Chart Extensibility)

§21.2.2.64

firstSliceAng (First Slice Angle)

§21.2.2.68

holeSize (Hole Size)

§21.2.2.82

ser (Pie Chart Series)

§21.2.2.172

varyColors (Vary Colors by Point)

§21.2.2.227

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

DoughnutChart Members

DocumentFormat.OpenXml.Drawing.Charts Namespace