2.102 DataLabel

Applies to RDL 2003/10 and RDL 2005/01

The DataLabel element specifies the data labels to display on data values in a Chart.

The following are the parent and child elements of the DataLabel element.

Parent elements

DataPoint

Child elements

DataLabel.Position

DataLabel.Rotation

DataLabel.Style

DataLabel.Value

DataLabel.Visible

The following is the XML Schema definition of the DataLabel element.

 <xsd:complexType name="DataLabelType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Visible" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="Value" type="xsd:string" minOccurs="0" />
     <xsd:element name="Position" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Auto" />
           <xsd:enumeration value="Top" />
           <xsd:enumeration value="TopLeft" />
           <xsd:enumeration value="TopRight" />
           <xsd:enumeration value="Left" />
           <xsd:enumeration value="Center" />
           <xsd:enumeration value="Right" />
           <xsd:enumeration value="BottomLeft" />
           <xsd:enumeration value="Bottom" />
           <xsd:enumeration value="BottomRight" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="Rotation" type="xsd:integer" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>