2.144.3 ChartItemInLegend.LegendText
Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01
The ChartItemInLegend.LegendText element specifies a label to use in a legend for a chart item. This element is optional.
If this element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String.
If the ChartItemInLegend.LegendText element is not present and if the parent is a ChartDataPoint element, ChartMember.Label elements will be used from the Chart.ChartCategoryHierarchy element, concatenated with a hyphen character (-) between each member.
If the ChartItemInLegend.LegendText element is not present and if the parent of the chart item is not a ChartDataPoint element, its value is interpreted as an empty string.
Following is the parent element of the ChartItemInLegend.LegendText element.
Parent elements |
---|
The following is the XML Schema definition of the ChartItemInLegend.LegendText element.
-
<xsd:element name="LegendText" type="xsd:string" minOccurs="0" />