Partager via


TrendlineLabel Class

Trendline Label.When the object is serialized out as xml, its qualified name is c:trendlineLbl.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.TrendlineLabel

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ChartText))> _
<ChildElementInfoAttribute(GetType(NumberingFormat))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(Layout))> _
Public Class TrendlineLabel _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TrendlineLabel
[ChildElementInfoAttribute(typeof(ChartText))]
[ChildElementInfoAttribute(typeof(NumberingFormat))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(Layout))]
public class TrendlineLabel : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Layout <c:layout>

  • ChartText <c:tx>

  • NumberingFormat <c:numFmt>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.212 trendlineLbl (Trendline Label)

This element specifies the label for the trendline.

Parent Elements

trendline (§21.2.2.211)

Child Elements

Subclause

extLst (Chart Extensibility)

§21.2.2.64

layout (Layout)

§21.2.2.88

numFmt (Number Format)

§21.2.2.121

spPr (Shape Properties)

§21.2.2.197

tx (Chart Text)

§21.2.2.214

txPr (Text Properties)

§21.2.2.216

[Note: The W3C XML Schema definition of this element’s content model (CT_TrendlineLbl) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TrendlineLabel Members

DocumentFormat.OpenXml.Drawing.Charts Namespace