2.1.1475 Part 4 Section 5.7.2.48, dLblPos (Data Label Position)

a.   The standard places no restriction on @val beyond ST_DLblPos.

In Office, if the ancestor does not include a ser element any position value is allowed. However, if a ser element is an ancestor the following rules apply based on the chart group ancestor:

For chart groups ofPieChart (“[ECMA-376] Part 4 §5.7.2.127; ofPieChart (Pie of Pie or Bar of Pie Charts)”), pie3DChart (“[ECMA-376] Part 4 §5.7.2.141; pie3DChart (3D Pie Charts)”), and pieChart (“[ECMA-376] Part 4 §5.7.2.142; pieChart (Pie Charts)”) the valid positions are BestFit, OutsideEnd, InsideEnd, Center.

For the chart groups barChart (“[ECMA-376] Part 4 §5.7.2.16; barChart (Bar Charts)”) where grouping is clustered the valid positions are InsideBase, InsideEnd, OutsideEnd, Center.

For the chart groups barChart (“[ECMA-376] Part 4 §5.7.2.16; barChart (Bar Charts)”) where grouping is stacked or percentStacked the valid positions are InsideBase, InsideEnd, Center.

For chart groups bubbleChart (“[ECMA-376] Part 4 §5.7.2.20; bubbleChart (Bubble Charts)”), lineChart (“[ECMA-376] Part 4 §5.7.2.98; lineChart (Line Charts)”), scatterChart (“[ECMA-376] Part 4 §5.7.2.162; scatterChart (Scatter Charts)”), and stockChart (“[ECMA-376] Part 4 §5.7.2.199; stockChart (Stock Charts)”) the valid positions are left, right, bottom, top, center.

For chart groups areaChart (“[ECMA-376] Part 4 §5.7.2.5; areaChart (Area Charts)”), area3DChart (“[ECMA-376] Part 4 §5.7.2.4; area3DChart (3D Area Charts)”), bar3DChart (“[ECMA-376] Part 4 §5.7.2.15; bar3DChart (3D Bar Charts)”), doughnutChart (“[ECMA-376] Part 4 §5.7.2.50; doughnutChart (Doughnut Charts)”), line3DChart (“[ECMA-376] Part 4 §5.7.2.97; line3DChart (3D Line Charts)”), radarChart (“[ECMA-376] Part 4 §5.7.2.154; radarChart (Radar Charts)”) this element shall not be specified.

b.   The standard does not define the behavior when the dLblPos element is omitted.

For Office, the following lists the chart types and their default position based on the chart group ancestor:

For chart groups ofPieChart (“[ECMA-376] Part 4 §5.7.2.127; ofPieChart (Pie of Pie or Bar of Pie Charts)”), pie3DChart (“[ECMA-376] Part 4 §5.7.2.141; pie3DChart (3D Pie Charts)”), and pieChart (“[ECMA-376] Part 4 §5.7.2.142; pieChart (Pie Charts)”) the automatic position is BestFit.

For chart groups areaChart (“[ECMA-376] Part 4 §5.7.2.5; areaChart (Area Charts)”), area3DChart (“[ECMA-376] Part 4 §5.7.2.4; area3DChart (3D Area Charts)”), and doughnutChart (“[ECMA-376] Part 4 §5.7.2.50; doughnutChart (Doughnut Charts)”) the automatic position is Center.

For chart groups barChart (“[ECMA-376] Part 4 §5.7.2.16; barChart (Bar Charts)”) and bar3DChart (“[ECMA-376] Part 4 §5.7.2.15; bar3DChart (3D Bar Charts)”) where grouping (“[ECMA-376] Part 4 §5.7.2.77; grouping (Bar Grouping)”) is stacked or percentStacked; the automatic position is Center.

For chart groups barChart, and bar3Dchart where grouping is clustered, and radarChart (“[ECMA-376] Part 4 §5.7.2.154; radarChart (Radar Charts)”) the automatic position is OutsideEnd.

For chart groups bubbleChart (“[ECMA-376] Part 4 §5.7.2.20; bubbleChart (Bubble Charts)”), scatterChart (“[ECMA-376] Part 4 §5.7.2.162; scatterChart (Scatter Charts)”), stockChart (“[ECMA-376] Part 4 §5.7.2.199; stockChart (Stock Charts)”), lineChart (“[ECMA-376] Part 4 §5.7.2.98; lineChart (Line Charts)”), and line3DChart (“[ECMA-376] Part 4 §5.7.2.97; line3DChart (3D Line Charts)”) the automatic position is Right.