2.4.38 CatLab
The CatLab record specifies the attributes of the axis label.
|
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
frtHeaderOld | |||||||||||||||||||||||||||||||
|
wOffset |
at | ||||||||||||||||||||||||||||||
|
A |
unused |
reserved (optional) | |||||||||||||||||||||||||||||
-
frtHeaderOld (4 bytes): An FrtHeaderOld structure. The frtHeaderOld.rt field MUST be 0x0856.
-
wOffset (2 bytes): An unsigned integer that specifies the distance between the axis and axis label. It contains the offset as a percentage of the default distance. The default distance is equal to 1/3 the height of the font calculated in pixels. MUST be a value greater than or equal to 0 (0%) and less than or equal to 1000 (1000%).
-
at (2 bytes): An unsigned integer that specifies the alignment of the axis label. MUST be a value from the following table:
Value
Alignment
0x0001
Top-aligned if the trot field of the Text record of the axis is not equal to 0. Left-aligned if the iReadingOrder field of the Text record of the axis specifies left-to-rightreading order; otherwise, right-aligned.
0x0002
Center-alignment
0x0003
Bottom-aligned if the trot field of the Text record of the axis is not equal to 0. Right-aligned if the iReadingOrder field of the Text record of the axis specifies left-to-right reading order; otherwise, left-aligned.
-
A - cAutoCatLabelReal (1 bit): A bit that specifies whether the number of categories (3) between axis labels is set to the default value. MUST be a value from the following table:
Value
Description
0
The value is set to catLabel field as specified by CatSerRange record.
1
The value is set to the default value. The number of category (3) labels is automatically calculated by the application based on the data in the chart.
-
unused (15 bits): Undefined, and MUST be ignored.
-
reserved (2 bytes): MUST be zero, and MUST be ignored.