2.144 ChartItemInLegend

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

The ChartItemInLegend element specifies the behavior for a ChartDataPoint that is displayed in a legend.

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

Parent elements

ChartDataPoint

ChartSeries

Child elements

ChartItemInLegend.ActionInfo

ChartItemInLegend.Hidden

ChartItemInLegend.LegendText

ChartItemInLegend.ToolTip

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

 <xsd:complexType name="ChartItemInLegendType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="LegendText" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Hidden" type="xsd:string" 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 ChartItemInLegend element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="ChartItemInLegendType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="LegendText" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>