2.105 Legend

Applies to RDL 2003/10 and RDL 2005/01

The Legend element specifies the properties that can be used to display instances of the series groups in a chart legend.

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

Parent elements

Chart

Child elements

Legend.InsidePlotArea

Legend.Layout

Legend.Position

Legend.Visible

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

 <xsd:complexType name="LegendType">
   <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="Position" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="TopLeft" />
           <xsd:enumeration value="TopCenter" />
           <xsd:enumeration value="TopRight" />
           <xsd:enumeration value="LeftTop" />
           <xsd:enumeration value="LeftCenter" />
           <xsd:enumeration value="LeftBottom" />
           <xsd:enumeration value="RightTop" />
           <xsd:enumeration value="RightCenter" />
           <xsd:enumeration value="RightBottom" />
           <xsd:enumeration value="BottomLeft" />
           <xsd:enumeration value="BottomCenter" />
           <xsd:enumeration value="BottomRight" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="Layout" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Column" />
           <xsd:enumeration value="Row" />
           <xsd:enumeration value="Table" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="InsidePlotArea" type="xsd:boolean" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>