DateAxis Class
Date Axis.When the object is serialized out as xml, its qualified name is c:dateAx.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Charts.DateAxis
Namespace: DocumentFormat.OpenXml.Drawing.Charts
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<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(CrossingAxis))> _
<ChildElementInfoAttribute(GetType(Crosses))> _
<ChildElementInfoAttribute(GetType(CrossesAt))> _
<ChildElementInfoAttribute(GetType(AutoLabeled))> _
<ChildElementInfoAttribute(GetType(LabelOffset))> _
<ChildElementInfoAttribute(GetType(BaseTimeUnit))> _
<ChildElementInfoAttribute(GetType(MajorUnit))> _
<ChildElementInfoAttribute(GetType(MajorTimeUnit))> _
<ChildElementInfoAttribute(GetType(MinorUnit))> _
<ChildElementInfoAttribute(GetType(MinorTimeUnit))> _
<ChildElementInfoAttribute(GetType(NoMultiLevelLabels))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class DateAxis _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As DateAxis
[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(CrossingAxis))]
[ChildElementInfoAttribute(typeof(Crosses))]
[ChildElementInfoAttribute(typeof(CrossesAt))]
[ChildElementInfoAttribute(typeof(AutoLabeled))]
[ChildElementInfoAttribute(typeof(LabelOffset))]
[ChildElementInfoAttribute(typeof(BaseTimeUnit))]
[ChildElementInfoAttribute(typeof(MajorUnit))]
[ChildElementInfoAttribute(typeof(MajorTimeUnit))]
[ChildElementInfoAttribute(typeof(MinorUnit))]
[ChildElementInfoAttribute(typeof(MinorTimeUnit))]
[ChildElementInfoAttribute(typeof(NoMultiLevelLabels))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class DateAxis : 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>
LabelOffset <c:lblOffset>
BaseTimeUnit <c:baseTimeUnit>
MajorUnit <c:majorUnit>
MajorTimeUnit <c:majorTimeUnit>
MinorUnit <c:minorUnit>
MinorTimeUnit <c:minorTimeUnit>
NoMultiLevelLabels <c:noMultiLvlLbl>
ExtensionList <c:extLst>
[ISO/IEC 29500-1 1st Edition]
21.2.2.39 dateAx (Date Axis)
This element specifies a date axis for 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 |
baseTimeUnit (Base Time Unit) |
§21.2.2.18 |
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 |
lblOffset (Label Offset) |
§21.2.2.91 |
majorGridlines (Major Gridlines) |
§21.2.2.100 |
majorTickMark (Major Tick Mark) |
§21.2.2.101 |
majorTimeUnit (Major Time Unit) |
§21.2.2.102 |
majorUnit (Major Unit) |
§21.2.2.103 |
minorGridlines (Minor Gridlines) |
§21.2.2.109 |
minorTickMark (Minor Tick Mark) |
§21.2.2.110 |
minorTimeUnit (Minor Time Unit) |
§21.2.2.111 |
minorUnit (Minor Unit) |
§21.2.2.112 |
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 |
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_DateAx) 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.