2.139 ChartDataLabel

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The ChartDataLabel element specifies the data labels to display on data values.

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

Parent elements

ChartDataPoint

ChartEmptyPoints

ChartSeries

Child elements

ChartDataLabel.ActionInfo

ChartDataLabel.Label

ChartDataLabel.Position

ChartDataLabel.Rotation

ChartDataLabel.Style

ChartDataLabel.ToolTip

ChartDataLabel.UseValueAsLabel

ChartDataLabel.Visible

The following is the XML Schema definition of the ChartDataLabel element in RDL 2008/01.

 <xsd:complexType name="ChartDataLabelType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Visible" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="Label" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="UseValueAsLabel" type="xsd:string" minOccurs="0" />
     <xsd:element name="Position" type="xsd:string" minOccurs="0" />
     <xsd:element name="Rotation" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ChartDataLabel element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="ChartDataLabelType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Visible" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="Label" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="UseValueAsLabel" type="xsd:string" minOccurs="0" />
     <xsd:element name="Position" type="xsd:string" minOccurs="0" />
     <xsd:element name="Rotation" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>