2.151 ChartLegends

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

The ChartLegends element specifies an ordered list of ChartLegend elements for a Chart.

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

Parent elements

Chart

Child elements

ChartLegends.ChartLegend

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

 <xsd:complexType name="ChartLegendsType">
   <xsd:sequence>
     <xsd:element name="ChartLegend" type="ChartLegendType" minOccurs="0" 
                  maxOccurs="unbounded" />
   </xsd:sequence>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

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

 <xsd:complexType name="ChartLegendsType">
   <xsd:sequence>
     <xsd:element name="ChartLegend" type="ChartLegendType" minOccurs="0" 
                  maxOccurs="unbounded" />
   </xsd:sequence>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>