ITrendline

ITrendline interface

Class represents trend line of chart series

public interface ITrendline : IOverridableText

Properties

NameDescription
AsIOverridableText { get; }Returns IOverridableText interface. Read-only IOverridableText.
Backward { get; set; }Specifies the number of categories (or units on a scatter chart) that the trend line extends before the data for the series that is being trended. On scatter and non-scatter charts, the value shall be any nonnegative value. Read/write Double.
DisplayEquation { get; set; }Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Read/write Boolean.
DisplayRSquaredValue { get; set; }Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Read/write Boolean.
Format { get; set; }Represents the format of the trend line. Read/write IFormat.
Forward { get; set; }Specifies the number of categories (or units on a scatter chart) that the trendline extends after the data for the series that is being trended. On scatter and non-scatter charts, the value shall be any non-negative value. Read/write Double.
Intercept { get; set; }Specifies the value where the trendline shall cross the y axis. This property shall be supported only when the trendline type is exp, linear, or poly. Read/write Double.
Order { get; set; }Specifies the order of the polynomial trend line. It is ignored for other trend line types. Value must be between 2 and 6. Read/write Byte.
Period { get; set; }Specifies the period of the trend line for a moving average trend line. It is ignored for other trend line variants. Value must be between 2 and 255. Read/write Byte.
RelatedLegendEntry { get; }Represents legend entry related with this trendline Read-only ILegendEntryProperties.
TrendlineName { get; set; }Gets or sets name of the trendline. Read/write String.
TrendlineType { get; set; }Gets or sets type of trend line. Read/write TrendlineType.

See Also