共用方式為


CategoryAxis Class

Category Axis Data.When the object is serialized out as xml, its qualified name is c:catAx.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CrossingAxis))> _
<ChildElementInfoAttribute(GetType(AxisId))> _
<ChildElementInfoAttribute(GetType(Scaling))> _
<ChildElementInfoAttribute(GetType(Delete))> _
<ChildElementInfoAttribute(GetType(AxisPosition))> _
<ChildElementInfoAttribute(GetType(MajorGridlines))> _
<ChildElementInfoAttribute(GetType(MinorGridlines))> _
<ChildElementInfoAttribute(GetType(Title))> _
<ChildElementInfoAttribute(GetType(NumberingFormat))> _
<ChildElementInfoAttribute(GetType(MajorTickMark))> _
<ChildElementInfoAttribute(GetType(MinorTickMark))> _
<ChildElementInfoAttribute(GetType(TickLabelPosition))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(Crosses))> _
<ChildElementInfoAttribute(GetType(CrossesAt))> _
<ChildElementInfoAttribute(GetType(AutoLabeled))> _
<ChildElementInfoAttribute(GetType(LabelAlignment))> _
<ChildElementInfoAttribute(GetType(LabelOffset))> _
<ChildElementInfoAttribute(GetType(TickLabelSkip))> _
<ChildElementInfoAttribute(GetType(TickMarkSkip))> _
<ChildElementInfoAttribute(GetType(NoMultiLevelLabels))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class CategoryAxis _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CategoryAxis
[ChildElementInfoAttribute(typeof(CrossingAxis))]
[ChildElementInfoAttribute(typeof(AxisId))]
[ChildElementInfoAttribute(typeof(Scaling))]
[ChildElementInfoAttribute(typeof(Delete))]
[ChildElementInfoAttribute(typeof(AxisPosition))]
[ChildElementInfoAttribute(typeof(MajorGridlines))]
[ChildElementInfoAttribute(typeof(MinorGridlines))]
[ChildElementInfoAttribute(typeof(Title))]
[ChildElementInfoAttribute(typeof(NumberingFormat))]
[ChildElementInfoAttribute(typeof(MajorTickMark))]
[ChildElementInfoAttribute(typeof(MinorTickMark))]
[ChildElementInfoAttribute(typeof(TickLabelPosition))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(Crosses))]
[ChildElementInfoAttribute(typeof(CrossesAt))]
[ChildElementInfoAttribute(typeof(AutoLabeled))]
[ChildElementInfoAttribute(typeof(LabelAlignment))]
[ChildElementInfoAttribute(typeof(LabelOffset))]
[ChildElementInfoAttribute(typeof(TickLabelSkip))]
[ChildElementInfoAttribute(typeof(TickMarkSkip))]
[ChildElementInfoAttribute(typeof(NoMultiLevelLabels))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class CategoryAxis : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • AxisId <c:axId>

  • Scaling <c:scaling>

  • Delete <c:delete>

  • AxisPosition <c:axPos>

  • MajorGridlines <c:majorGridlines>

  • MinorGridlines <c:minorGridlines>

  • Title <c:title>

  • NumberingFormat <c:numFmt>

  • MajorTickMark <c:majorTickMark>

  • MinorTickMark <c:minorTickMark>

  • TickLabelPosition <c:tickLblPos>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • CrossingAxis <c:crossAx>

  • Crosses <c:crosses>

  • CrossesAt <c:crossesAt>

  • AutoLabeled <c:auto>

  • LabelAlignment <c:lblAlgn>

  • LabelOffset <c:lblOffset>

  • TickLabelSkip <c:tickLblSkip>

  • TickMarkSkip <c:tickMarkSkip>

  • NoMultiLevelLabels <c:noMultiLvlLbl>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.25 catAx (Category Axis Data)

This element specifies the category axis of the chart.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

auto (Automatic Category Axis)

§21.2.2.6

axId (Axis ID)

§21.2.2.9

axPos (Axis Position)

§21.2.2.10

crossAx (Crossing Axis ID)

§21.2.2.31

crosses (Crosses)

§21.2.2.33

crossesAt (Crossing Value)

§21.2.2.34

delete (Delete)

§21.2.2.40

extLst (Chart Extensibility)

§21.2.2.64

lblAlgn (Label Alignment)

§21.2.2.90

lblOffset (Label Offset)

§21.2.2.91

majorGridlines (Major Gridlines)

§21.2.2.100

majorTickMark (Major Tick Mark)

§21.2.2.101

minorGridlines (Minor Gridlines)

§21.2.2.109

minorTickMark (Minor Tick Mark)

§21.2.2.110

noMultiLvlLbl (No Multi-level Labels)

§21.2.2.119

numFmt (Number Format)

§21.2.2.121

scaling (Scaling)

§21.2.2.160

spPr (Shape Properties)

§21.2.2.197

tickLblPos (Tick Label Position)

§21.2.2.207

tickLblSkip (Tick Label Skip)

§21.2.2.208

tickMarkSkip (Tick Mark Skip)

§21.2.2.209

title (Title)

§21.2.2.210

txPr (Text Properties)

§21.2.2.216

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

CategoryAxis Members

DocumentFormat.OpenXml.Drawing.Charts Namespace