Chart Class

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

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(Floor))> _
<ChildElementInfoAttribute(GetType(Title))> _
<ChildElementInfoAttribute(GetType(AutoTitleDeleted))> _
<ChildElementInfoAttribute(GetType(PivotFormats))> _
<ChildElementInfoAttribute(GetType(View3D))> _
<ChildElementInfoAttribute(GetType(PlotVisibleOnly))> _
<ChildElementInfoAttribute(GetType(BackWall))> _
<ChildElementInfoAttribute(GetType(PlotArea))> _
<ChildElementInfoAttribute(GetType(Legend))> _
<ChildElementInfoAttribute(GetType(SideWall))> _
<ChildElementInfoAttribute(GetType(DisplayBlanksAs))> _
<ChildElementInfoAttribute(GetType(ShowDataLabelsOverMaximum))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class Chart _
    Inherits OpenXmlCompositeElement
用法
Dim instance As Chart
[ChildElementInfoAttribute(typeof(Floor))]
[ChildElementInfoAttribute(typeof(Title))]
[ChildElementInfoAttribute(typeof(AutoTitleDeleted))]
[ChildElementInfoAttribute(typeof(PivotFormats))]
[ChildElementInfoAttribute(typeof(View3D))]
[ChildElementInfoAttribute(typeof(PlotVisibleOnly))]
[ChildElementInfoAttribute(typeof(BackWall))]
[ChildElementInfoAttribute(typeof(PlotArea))]
[ChildElementInfoAttribute(typeof(Legend))]
[ChildElementInfoAttribute(typeof(SideWall))]
[ChildElementInfoAttribute(typeof(DisplayBlanksAs))]
[ChildElementInfoAttribute(typeof(ShowDataLabelsOverMaximum))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class Chart : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Title <c:title>

  • AutoTitleDeleted <c:autoTitleDeleted>

  • PivotFormats <c:pivotFmts>

  • View3D <c:view3D>

  • Floor <c:floor>

  • SideWall <c:sideWall>

  • BackWall <c:backWall>

  • PlotArea <c:plotArea>

  • Legend <c:legend>

  • PlotVisibleOnly <c:plotVisOnly>

  • DisplayBlanksAs <c:dispBlanksAs>

  • ShowDataLabelsOverMaximum <c:showDLblsOverMax>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 第 1 个版本]

21.2.2.27 chart (Chart)

This element specifies the chart.

Parent Elements

chartSpace (§21.2.2.29)

Child Elements

Subclause

autoTitleDeleted (Auto Title Is Deleted)

§21.2.2.7

backWall (Back Wall)

§21.2.2.11

dispBlanksAs (Display Blanks As)

§21.2.2.42

extLst (Chart Extensibility)

§21.2.2.64

floor (Floor)

§21.2.2.69

legend (Legend)

§21.2.2.93

pivotFmts (Pivot Formats)

§21.2.2.143

plotArea (Plot Area)

§21.2.2.145

plotVisOnly (Plot Visible Only)

§21.2.2.146

showDLblsOverMax (Show Data Labels over Maximum)

§21.2.2.180

sideWall (Side Wall)

§21.2.2.191

title (Title)

§21.2.2.210

view3D (View In 3D)

§21.2.2.228

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

Chart Members

DocumentFormat.OpenXml.Drawing.Charts Namespace