2.152 ChartLegend
Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01
The ChartLegend element specifies the properties that can be used to display instances of a series group in a legend in a Chart.
The following are the parent element, attribute, and child elements of the ChartLegend element.
Parent elements |
---|
Attributes |
---|
Child elements |
---|
The following is the XML Schema definition of the ChartLegend element in RDL 2008/01.
-
<xsd:complexType name="ChartLegendType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Hidden" type="xsd:string" minOccurs="0" /> <xsd:element name="Style" type="StyleType" minOccurs="0" /> <xsd:element name="Position" type="xsd:string" minOccurs="0" /> <xsd:element name="Layout" type="xsd:string" minOccurs="0" /> <xsd:element name="DockToChartArea" type="xsd:string" minOccurs="0" /> <xsd:element name="DockOutsideChartArea" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartElementPosition" type="ChartElementPositionType" minOccurs="0" /> <xsd:element name="ChartLegendTitle" type="ChartLegendTitleType" minOccurs="0" /> <xsd:element name="AutoFitTextDisabled" type="xsd:string" minOccurs="0" /> <xsd:element name="MinFontSize" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartLegendColumns" type="ChartLegendColumnsType" minOccurs="0" /> <xsd:element name="HeaderSeparator" type="xsd:string" minOccurs="0" /> <xsd:element name="HeaderSeparatorColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSeparator" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSeparatorColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSpacing" type="xsd:string" minOccurs="0" /> <xsd:element name="InterlacedRows" type="xsd:string" minOccurs="0" /> <xsd:element name="InterlacedRowsColor" type="xsd:string" minOccurs="0" /> <xsd:element name="EquallySpacedItems" type="xsd:string" minOccurs="0" /> <xsd:element name="Reversed" type="xsd:string" minOccurs="0" /> <xsd:element name="MaxAutoSize" type="xsd:string" minOccurs="0" /> <xsd:element name="TextWrapThreshold" type="xsd:string" minOccurs="0" /> <xsd:any namespace="##other" processContents="skip" /> </xsd:choice> <xsd:attribute name="Name" type="xsd:normalizedString" use="required" /> <xsd:anyAttribute namespace="##other" processContents="skip" /> </xsd:complexType>
The following is the XML Schema definition of the ChartLegend element in RDL 2010/01 and RDL 2016/01.
-
<xsd:complexType name="ChartLegendType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Hidden" type="xsd:string" minOccurs="0" /> <xsd:element name="Style" type="StyleType" minOccurs="0" /> <xsd:element name="Position" type="xsd:string" minOccurs="0" /> <xsd:element name="Layout" type="xsd:string" minOccurs="0" /> <xsd:element name="DockToChartArea" type="xsd:string" minOccurs="0" /> <xsd:element name="DockOutsideChartArea" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartElementPosition" type="ChartElementPositionType" minOccurs="0" /> <xsd:element name="ChartLegendTitle" type="ChartLegendTitleType" minOccurs="0" /> <xsd:element name="AutoFitTextDisabled" type="xsd:string" minOccurs="0" /> <xsd:element name="MinFontSize" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartLegendColumns" type="ChartLegendColumnsType" minOccurs="0" /> <xsd:element name="HeaderSeparator" type="xsd:string" minOccurs="0" /> <xsd:element name="HeaderSeparatorColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSeparator" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSeparatorColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ColumnSpacing" type="xsd:string" minOccurs="0" /> <xsd:element name="InterlacedRows" type="xsd:string" minOccurs="0" /> <xsd:element name="InterlacedRowsColor" type="xsd:string" minOccurs="0" /> <xsd:element name="EquallySpacedItems" type="xsd:string" minOccurs="0" /> <xsd:element name="Reversed" type="xsd:string" minOccurs="0" /> <xsd:element name="MaxAutoSize" type="xsd:string" minOccurs="0" /> <xsd:element name="TextWrapThreshold" type="xsd:string" minOccurs="0" /> <xsd:any namespace="##other" processContents="lax" /> </xsd:choice> <xsd:attribute name="Name" type="xsd:normalizedString" use="required" /> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType>