2.24.3.3 CT_Axis
Target namespace: http://schemas.microsoft.com/office/drawing/2014/chartex
Referenced by: CT_PlotArea
A complex type<222> that specifies an axis.
Child Elements:
catScaling: A CT_CategoryAxisScaling element<223> that specifies the category axis scaling properties.
valScaling: A CT_ValueAxisScaling element<224> that specifies the value axis scaling properties.
title: A CT_AxisTitle element<225> that specifies the axis title.
units: A CT_AxisUnits element that specifies the axis display units.
majorGridlines: A CT_Gridlines element<226> that specifies the major gridlines.
minorGridlines: A CT_Gridlines element<227> that specifies the minor gridlines.
majorTickMarks: A CT_TickMarks element<228> that specifies the major tick marks.
minorTickMarks: A CT_TickMarks element<229> that specifies the minor tick marks.
tickLabels: A CT_TickLabels element<230> that specifies the tick labels.
numFmt: A CT_NumberFormat element<231> that specifies the number format information.
spPr: A CT_ShapeProperties ([ISO/IEC29500-4:2016] section A.4.1) element<232> that specifies the OfficeArt shape properties for the axis.
txPr: A CT_TextBody ([ISO/IEC29500-1:2016] section A.4.1) element<233> that specifies the OfficeArt text properties for the axis as a single paragraph with no text runs. Any further paragraphs, and any text runs in the first paragraph, are ignored.
extLst: A CT_ExtensionList element<234> that specifies an extensibility container.
Attributes:
id: An ST_AxisId attribute<235> that specifies the axis identifier.
hidden: A boolean ([XMLSCHEMA2/2] section 3.2.2) attribute<236> that specifies whether this axis is hidden (true) or not (false).
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_Axis"> <xsd:sequence> <xsd:choice minOccurs="1" maxOccurs="1"> <xsd:element name="catScaling" type="CT_CategoryAxisScaling"/> <xsd:element name="valScaling" type="CT_ValueAxisScaling"/> </xsd:choice> <xsd:element name="title" type="CT_AxisTitle" minOccurs="0" maxOccurs="1"/> <xsd:element name="units" type="CT_AxisUnits" minOccurs="0" maxOccurs="1"/> <xsd:element name="majorGridlines" type="CT_Gridlines" minOccurs="0" maxOccurs="1"/> <xsd:element name="minorGridlines" type="CT_Gridlines" minOccurs="0" maxOccurs="1"/> <xsd:element name="majorTickMarks" type="CT_TickMarks" minOccurs="0" maxOccurs="1"/> <xsd:element name="minorTickMarks" type="CT_TickMarks" minOccurs="0" maxOccurs="1"/> <xsd:element name="tickLabels" type="CT_TickLabels" minOccurs="0" maxOccurs="1"/> <xsd:element name="numFmt" type="CT_NumberFormat" minOccurs="0" maxOccurs="1"/> <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/> <xsd:element name="txPr" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/> <xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/> </xsd:sequence> <xsd:attribute name="id" type="ST_AxisId" use="required"/> <xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="0"/> </xsd:complexType>
See section 5.22 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).