2.139.3 ChartDataLabel.Position

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

The ChartDataLabel.Position element specifies the position of the chart data label for a data point. This element is optional. If the ChartDataLabel.Position element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String. The value of this element MUST be one of the following or an expression that evaluates to one of the following:

Auto: Specifies automatic positioning.

Top: Specifies to position the label at the top of the data point.

TopLeft: Specifies to position the label at the top-left of the data point.

TopRight: Specifies to position the label at the top-right of the data point.

Left: Specifies to position the label to the left of the data point.

Center: Specifies to position the label at the center of the data point.

Right: Specifies to position the label at the right of the data point.

BottomRight: Specifies to position the label at the bottom-right of the data point.

Bottom: Specifies to position the label at the bottom of the data point.

BottomLeft: Specifies to position the label at the bottom-left of the data point.

Outside: Specifies to position the label outside of the data point. If the subtype of the containing series, as specified in ChartSeries.Subtype, is not "Pie" or "Doughnut", "Outside" MUST be treated as "Top".

If the ChartDataLabel.Position element is not present, its value is interpreted as "Auto".

Following is the parent element of the ChartDataLabel.Position element.

Parent elements

ChartDataLabel

The following is the XML Schema definition of the ChartDataLabel.Position element.

 <xsd:element name="Position" type="xsd:string" minOccurs="0" />