2.4.80 Pos

This record specifies the size and position of a legend, an attached label, or the plot area, as specified by the primary axis group. This record MUST be ignored for the plot area when the fManPlotArea field of ShtProps is set to 1.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

mdTopLt

mdBotRt

x1

unused1

y1

unused2

x2

unused3

y2

unused4

mdTopLt (2 bytes): A PositionMode structure (section 2.5.25) that specifies the positioning mode for the upper-left corner of a legend, an attached label, or the plot area. The valid combinations of mdTopLt and mdBotRt and the meaning of x1, y1, x2, y2 are specified in the Valid Combinations of mdTopLt and mdBotRt by Type table.

mdBotRt (2 bytes): A PositionMode structure (section 2.5.25) that specifies the positioning mode for the lower-right corner of a legend, an attached label, or the plot area. The valid combinations of mdTopLt and mdBotRt and the meaning of x1, y1, x2, y2 are specified in the following table:

Type

Position mode of mdTopLt

Position mode of mdBotRt

Meaning

Plot area (axis group)

MDPARENT

MDPARENT

The x1 and y1 coordinates specify the horizontal and vertical offsets of the upper-left corner of the primary axis group, relative to the upper-left corner of the chart area, in SPRC. The x2 and y2 coordinates specify the width and height of the primary axis group, in SPRC.

Legend

MDCHART

MDABS

The x1 and y1 coordinates specify the horizontal and vertical offsets of the upper-left corner of the legend, relative to the upper-left corner of the chart area, in SPRC. The x2 and y2 coordinates specify the width and height of the legend, in points.

Legend

MDCHART

MDPARENT

The x1 and y1 coordinates specify the horizontal and vertical offsets of the upper-left corner of the legend, relative to the upper-left corner of the chart area, in SPRC. The x2 and y2 coordinates MUST be ignored. The size of the legend is determined by the application.

Legend

MDKTH

MDPARENT

The x1, y1, x2, and y2 coordinates MUST be ignored. The legend is located in a data table.

Attached label

MDPARENT

MDPARENT

The x1 and y1 coordinates are specified in the following table. The x2 and y2 coordinates MUST be ignored. The size of the attached label is determined by the application.

The following table describes types of attached labels. For more information about determining the type of an attached label, see Charts (section 2.2.1.3)

Type of attached label

Meaning

Chart title

The x1 and y1 coordinates specify the horizontal and vertical offset of the title, relative to its default position, in SPRC.

Axis title

The x1 and y1 coordinates specify the offset of the title along the direction of the axis. The x1 coordinate specifies an offset along the category axis, date axis, or horizontal value axis. The y1 coordinate specifies an offset along the value axis. Both offsets are relative to the default position of the title, in 1000ths of the axis length.

Data label

If the chart is not a pie or a radar chart group, the x1 and y1 coordinates specify the offset of the label along the direction of the axis. The x1 coordinate is an offset along the category axis, date axis, or horizontal value axis. The y1 coordinate is an offset along the value axis, opposite to the direction of the axis. Both offsets are relative to the default position of the label, in 1000ths of the axis length.

For a pie chart group, the x1 coordinate specifies the clockwise angle, in degrees, and the y1 coordinate specifies the radius offset of the label relative to its default position, in 1000ths of the pie radius length. A label moved towards the pie center has a negative radius offset.

For a radar chart group, the x1 and y1 coordinates specify the horizontal and vertical offset of the label relative to its default position, in 1000ths of the axis length.

x1 (2 bytes): A signed integer that specifies a position. The meaning is specified in the first table in this section.

unused1 (2 bytes): Undefined and MUST be ignored.

y1 (2 bytes): A signed integer that specifies a position. The meaning is specified in the first table in this section.

unused2 (2 bytes): Undefined and MUST be ignored.

x2 (2 bytes): A signed integer that specifies a width. The meaning is specified in the first table in this section.

unused3 (2 bytes): Undefined and MUST be ignored.

y2 (2 bytes): A signed integer that specifies a height. The meaning is specified in the first table in this section.

unused4 (2 bytes): Undefined and MUST be ignored.