Partager via


Trendline Members

Include Protected Members
Include Inherited Members

Represents a trendline in a chart.

The Trendline type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.
Public property Backward Reserved for internal use.
Public property Backward2 Returns or sets the number of periods (or units on a scatter chart) that the trendline extends backward. Read/write double-precision floating-point number.
Public property Border Returns the border of the object. Read-only ChartBorder.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property DataLabel Returns the data label that is associated with the trendline. Read-only DataLabel.
Public property DisplayEquation true if the equation for the trendline is displayed on the chart (in the same data label as the R-squared value). Read/write Boolean value.
Public property DisplayRSquared true if the R-squared value of the trendline is displayed on the chart (in the same data label as the equation). Read/write Boolean value.
Public property Format Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.
Public property Forward Reserved for internal use.
Public property Forward2 Returns or sets the number of periods (or units on a scatter chart) that the trendline extends forward. Read/write double-precision floating-point number.
Public property Index Returns the index number of the object within the collection of similar objects. Read-only.
Public property Intercept Returns or sets the point where the trendline crosses the value axis. Read/write double-precision floating-point number.
Public property InterceptIsAuto true if the point where the trendline crosses the value axis is automatically determined by the regression. Read/write Boolean value.
Public property Name Returns or sets name of the object. Read/write.
Public property NameIsAuto true if Microsoft PowerPoint automatically determines the name of the trendline. Read/write Boolean value.
Public property Order Returns or sets the trendline order (an integer greater than 1) when the trendline type is xlPolynomial. Read/write.
Public property Parent Returns the parent for the specified object. Read-only.
Public property Period Reserved for internal use.
Public property Type Returns or sets the trendline type. Read/write XlTrendlineType.

Top

Methods

  Name Description
Public method ClearFormats Clears the formatting of the object.
Public method Delete Deletes the object.
Public method Select Selects the object.

Top

See Also

Reference

Trendline Interface

Microsoft.Office.Interop.PowerPoint Namespace