Trendline class

Defines the Trendline Class. When the object is serialized out as xml, its qualified name is c:trendline.

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

[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(TrendlineName))]
[ChildElementInfoAttribute(typeof(TrendlineType))]
[ChildElementInfoAttribute(typeof(PolynomialOrder))]
[ChildElementInfoAttribute(typeof(Period))]
[ChildElementInfoAttribute(typeof(Forward))]
[ChildElementInfoAttribute(typeof(Backward))]
[ChildElementInfoAttribute(typeof(Intercept))]
[ChildElementInfoAttribute(typeof(DisplayRSquaredValue))]
[ChildElementInfoAttribute(typeof(DisplayEquation))]
[ChildElementInfoAttribute(typeof(TrendlineLabel))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class Trendline : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

trendline (Trendlines)

This element specifies a trendline.

Parent Elements

ser (§21.2.2.168); ser (§21.2.2.170); ser (§21.2.2.174); ser (§21.2.2.171); ser (§21.2.2.167)

Child Elements

Subclause

backward (Backward)

§21.2.2.12

dispEq (Display Equation)

§21.2.2.43

dispRSqr (Display R Squared Value)

§21.2.2.44

extLst (Chart Extensibility)

§21.2.2.64

forward (Forward)

§21.2.2.73

intercept (Intercept)

§21.2.2.85

name (Trendline Name)

§21.2.2.116

order (Polynomial Trendline Order)

§21.2.2.129

period (Period)

§21.2.2.135

spPr (Shape Properties)

§21.2.2.197

trendlineLbl (Trendline Label)

§21.2.2.212

trendlineType (Trendline Type)

§21.2.2.213

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

© ISO/IEC29500: 2008.

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

Community Additions

Show:
© 2014 Microsoft