3.2.13 Graph - Pie Chart: BRAI
The next record in this example, BRAI, specifies a reference to data in the chart sheet that is used by the legend entry.
Size |
Structure |
Value |
---|---|---|
0008 |
BRAI - BRAI |
|
0001 |
BYTE - id |
0x00 |
0001 |
BYTE - rt |
0x01 |
1 bit |
USHORT - fUnlinkedIfmt |
0x0 |
1 bit |
USHORT - fRowCol |
0x1 |
14 bits |
USHORT - reserved |
0x0000 |
0002 |
IFmt - ifmt |
0x0000 |
0002 |
USHORT - rowcol |
0x0000 |
Figure 48: Structure of the BRAI record
id: 0x00 specifies that the referenced data is used for the text of a legend entry.
rt: 0x01 specifies the type of data that is being referenced as specified by the rowcol field.
fUnlinkedIfmt: 0x0 specifies that the part of the chart specified by the id field uses the number formatting of the referenced data.
fRowCol: 0x1 is required in this field because rt is set to 1, and specifies that the reference is to a row or column. The referenced data is contained by the row or column stored in rowcol.
ifmt: 0x0000 specifies that the ID for number formatting information is set to "General", which means automatic.
rowcol: 0x0000 specifies that the referenced information is placed on the first row.
Records following this record, and before the next End record, are omitted for brevity.