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)

public class Trendline : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

trendline (Trendlines)

This element specifies a trendline.

Parent Elements

ser (§; ser (§; ser (§; ser (§; ser (§

Child Elements


backward (Backward)


dispEq (Display Equation)


dispRSqr (Display R Squared Value)


extLst (Chart Extensibility)


forward (Forward)


intercept (Intercept)


name (Trendline Name)


order (Polynomial Trendline Order)


period (Period)


spPr (Shape Properties)


trendlineLbl (Trendline Label)


trendlineType (Trendline Type)


[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

© 2014 Microsoft