220.127.116.11 Attached Label
An attached label is a generic text element that is used on a chart (section 18.104.22.168). An attached label can specify properties of an axis (section 22.214.171.124) title, chart title, data label (section 126.96.36.199), data table (section 188.8.131.52), display units label, legend (section 184.108.40.206), legend entry, trendline (section 220.127.116.11) label, or the default text properties of the entire chart.
The location of the attached label in the chart sheet substream (section 18.104.22.168.1) ABNF and the properties of the ObjectLink record (section 2.4.182) of the attached label specify the chart element to which the attached label applies. Refer to the conceptual overviews (section 2.2.3) for explanation of the meaning of the attached label in each context that it is used.
An attached label is specified by a collection of records that conforms to an ATTACHEDLABEL rule (section 22.214.171.124.1) as specified by the chart sheet substream (section 126.96.36.199.1) ABNF.
The Text record (section 2.4.324) and the collection of records that conforms to the TEXTPROPS rule (section 188.8.131.52.1) specify properties of the text in the attached label. These properties include text options such as text rotation and reading order. On attached labels that represent data labels, the Text record also specifies content and layout properties of the data labels.
The Pos (section 2.4.201) and CrtLayout12 (section 2.4.66) records specify the position of the attached label on the chart. The Pos record MUST be ignored if the attached label represents the data labels on a series (section 184.108.40.206) or chart group (section 220.127.116.11), a data table, the default text of the chart, or a legend key.
The collection of records that conforms to the AI rule (section 18.104.22.168.1) specifies custom text of the attached label.
The collection of records that conforms to the FRAME rule (section 22.214.171.124.1) specifies the fill and border properties of the attached label.
The ObjectLink record specifies the chart element the attached label applies to.
The DataLabExtContents record (section 2.4.76) specifies additional data label properties on attached labels that represent a data label. Refer to the data label overview for the conditions when this record can be written. This record MUST NOT exist unless the attached label specifies properties of a data label. An attached label specifies properties of a data label if the wLinkObj field of the ObjectLink record is equal to 0x0004 or the attached label is in the collection of records that conforms to the DFTTEXT rule (section 126.96.36.199.1) in a chart group.
The collection of records that conforms to the CRTMLFRT rule (section 188.8.131.52.1) specifies future records (section 2.1.6) for the attached label.