2.4.153 LegendException

The LegendException record specifies information about a legend entry which was changed from the default legend entry settings, and specifies the beginning of a collection of records as defined by the Chart Sheet Substream ABNF.  The collection of records specifies legend entry formatting. On a chart where the legend contains legend entries for the series and trendlines, as defined in the legend overview, there MUST be zero instances or one instance of this record in the sequence of records that conform to the SERIESFORMAT rule.


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

iss

A

B

reserved

iss (2 bytes):  An unsigned integer that specifies the legend entry. This field has different interpretations depending on the content of the legend in the chart.  The legend overview specifies the types of content the legend can contain, as follows:

  • In a chart where the legend contains legend entries for the series and trendlines, this field MUST be 0xFFFF. This record specifies the legend entry of the series or trendline that contains this record.

  • In a chart where the legend contains legend entries for each data point in the chart, this field specifies the zero-based index of a legend entry in the legend, where 0x0000 is the legend entry for the first data point in the series.

  • In a chart with a surface chart group, this field specifies the zero-based index of a legend entry in the legend, where 0x0000 is the legend entry for the lowest band of the surface chart group.

A - fDeleted (1 bit):  A bit that specifies whether the legend entry specified by iss was deleted.

B - fLabel (1 bit):  A bit that specifies whether the legend entry specified by iss was formatted. If this field is 1, there MUST be a sequence of records that conform to the ATTACHEDLABEL rule in the Chart Sheet Substream ABNF following this record.

reserved (14 bits):  MUST be zero, and MUST be ignored.