3.1.18 Graph - Column Chart: Pos
The next record in this example, Pos, specifies the size and position for the primary axis group of the plot area.
Size |
Structure |
Value |
---|---|---|
0014 |
Pos - PosCh |
|
0002 |
PositionMode - mdTopLt |
0x0002 |
0002 |
PositionMode - mdBotRt |
0x0002 |
0002 |
SHORT - x1 |
0x0090 |
0002 |
SHORT - unused1 |
0x0000 |
0002 |
SHORT - y1 |
0x00DC |
0002 |
SHORT - unused2 |
0x0000 |
0002 |
SHORT - x2 |
0x0E80 |
0002 |
SHORT - unused3 |
0x0000 |
0002 |
SHORT - y2 |
0x0DE8 |
0002 |
SHORT - unused4 |
0x0000 |
Figure 21: Structure of the PosCh record
mdTopLt: 0x0002, combined with the value of mdBotRt, determines that x1 and y1 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, and that x2 and y2 specify the width and height of the primary axis group, in SPRC.
mdBotRt: 0x0002, combined with the value of mdTopLt, determines that x1 and y1 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, and that x2 and y2 specify the width and height of the primary axis group, in SPRC.
x1: 0x0090 specifies the horizontal offsets of the upper-left corner of the primary axis group, relative to the upper-left corner of the chart area, as 144 SPRC.
y1: 0x00DC specifies the vertical offsets of the upper-left corner of the primary axis group, relative to the upper-left corner of the chart area, as 220 SPRC.
x2: 0x0E80 specifies that the width of the primary axis group is 3712 SPRC.
y2: 0x0DE8 specifies that the height of the primary axis group is 3560 SPRC.