2.24.3.17 CT_DataLabel

Target namespace: http://schemas.microsoft.com/office/drawing/2014/chartex

Referenced by: CT_DataLabels

A complex type<298> that specifies data label formatting.

Child Elements:

numFmt: A CT_NumberFormat element<299> that specifies the number format information.

spPr: A CT_ShapeProperties ([ISO/IEC29500-4:2016] section A.4.1) element<300> that specifies the OfficeArt shape properties for the data label.

txPr: A CT_TextBody ([ISO/IEC29500-1:2016] section A.4.1) element<301> that specifies the OfficeArt text properties for the data label.

visibility: A CT_DataLabelVisibilities element<302> that specifies the visibilities of data label sub-parts.

separator: A string ([XMLSCHEMA2/2] section 3.2.1) element<303> that specifies data label separator text.

extLst: A CT_ExtensionList element<304> that specifies an extensibility container.

Attributes:

idx: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute<305> that specifies the index of the data point this label is for.

pos: An ST_DataLabelPos attribute<306> that specifies the position of the data labels.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_DataLabel">
   <xsd:sequence>
     <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="visibility" type="CT_DataLabelVisibilities" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="separator" type="xsd:string" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="idx" type="xsd:unsignedInt" use="required"/>
   <xsd:attribute name="pos" type="ST_DataLabelPos" use="optional"/>
 </xsd:complexType>

See section 5.22 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).