3.1.29 Graph - Column Chart: AreaFormat
The next record in this example, AreaFormat, specifies the patterns and colors used in the plot area of the chart.
Size |
Structure |
Value |
---|---|---|
0010 |
AreaFormat - AreaFormat |
|
0004 |
LongRGB - rgbFore |
|
0001 |
BYTE - red |
0xC0 |
0001 |
BYTE - green |
0xC0 |
0001 |
BYTE - blue |
0xC0 |
0001 |
BYTE - reserved |
0x00 |
0004 |
LongRGB - rgbBack |
|
0001 |
BYTE - red |
0x00 |
0001 |
BYTE - green |
0x00 |
0001 |
BYTE - blue |
0x00 |
0001 |
BYTE - reserved |
0x00 |
0002 |
SHORT - fls |
0x0001 |
1 bit |
WORD - fAuto |
0x0 |
1 bit |
WORD - fInvertNeg |
0x0 |
14 bits |
WORD - reserved |
0x0000 |
0002 |
IcvChart - icvFore |
|
0002 |
USHORT - icv |
0x0016 |
0002 |
IcvChart - icvBack |
|
0002 |
USHORT - icv |
0x004F |
Figure 32: Structure of the AreaFormat record
rgbFore: A LongRGB structure (section 2.5.20) that specifies that the foreground color of the fill pattern is gray.
rgbFore.red: 0xC0 specifies that the relative intensity of red is set to 0xC0.
rgbFore.green: 0xC0 specifies that the relative intensity of green is set to 0xC0.
rgbFore.blue: 0xC0 specifies that the relative intensity of blue is set to 0xC0.
rgbBack: A LongRGB structure (section 2.5.20) that specifies that the background color of the fill pattern is black.
rgbBack.red: 0x00 specifies that the relative intensity of red is set to 0x00.
rgbBack.green: 0x00 specifies that the relative intensity of green is set to 0x00.
rgbBack.blue: 0x00 specifies that the relative intensity of blue is set to 0x00.
fls: 0x0001 specifies that the fill pattern is solid.
fAuto: 0x0000 specifies that the fill colors are not set automatically.
fInvertNeg: 0x0000 specifies that the foreground and background are not swapped when the data value of the filled area is negative.
icvFore: Specifies that the foreground color of the fill pattern is gray.
icvFore.icv: 0x0016 specifies that the color of the line has the following composition: red is set to 192, green is set to 192, and blue is set to 192.
icvBack: Specifies that the background color of the fill pattern is black.
icvBack.icv: 0x004F specifies that the color of the line has the following composition: red is set to zero, green is set to zero, and blue is set to zero.