LEGENDXN: Legend Exception (1043h)

This record specifies information about a legend entry which has been changed from the default legend-entry settings.

Record Data

Offset

Name

Size

Contents

4

iss

2

Legend-entry index

6

grbit

2

Flags


The grbit field contains the following option flags.

Offset

Bits

Mask

Name

Contents

0

0

01h

fDeleted

TRUE if the legend entry has been deleted

0

1

02h

fLabel

TRUE if the legend entry has been formatted

0

7-2

FCh

(reserved)

Reserved; must be zero

1

7–0

FFh

(reserved)

Reserved; must be zero


Microsoft Excel uses three legend types. On a chart where the legend lists the series names, the iss field will contain FFFF. On a single-series chart formatted to vary by category (a pie chart or column autoformat number two, for example), the legend lists the categories and the iss field contains the category number. On a surface chart, the legend lists data ranges, and the iss field contains the legend-entry number, starting at zero for the bottom range.