ITrendline Interface

Class represents trend line of chart series

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public interface ITrendline : IOverridableText, 
	IFormattedTextContainer, IChartComponent, ISlideComponent, IPresentationComponent

The ITrendline type exposes the following members.

Properties
  NameDescription
Public propertyAsIChartComponent
Returns IChartComponent interface. Read-only IChartComponent.
(Inherited from IFormattedTextContainer.)
Public propertyAsIFormattedTextContainer
Allows to get base IFormattedTextContainer interface. Read-only IFormattedTextContainer.
(Inherited from IOverridableText.)
Public propertyAsIOverridableText
Returns IOverridableText interface. Read-only IOverridableText.
Public propertyAsIPresentationComponent
Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
(Inherited from ISlideComponent.)
Public propertyAsISlideComponent
Allows to get base ISlideComponent interface. Read-only ISlideComponent.
(Inherited from IChartComponent.)
Public propertyBackward
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.
Public propertyChart
Returns the chart. Read-only IChart.
(Inherited from IChartComponent.)
Public propertyDisplayEquation
Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). Read/write Boolean.
Public propertyDisplayRSquaredValue
Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). Read/write Boolean.
Public propertyFormat
Represents the format of the trend line. Read/write IFormat.
Public propertyForward
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.
Public propertyIntercept
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.
Public propertyOrder
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.
Public propertyPeriod
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.
Public propertyPresentation
Returns the presentation. Read-only IPresentation.
(Inherited from IPresentationComponent.)
Public propertyRelatedLegendEntry
Represents legend entry related with this trendline Read-only ILegendEntryProperties.
Public propertySlide
Returns the base slide. Read-only IBaseSlide.
(Inherited from ISlideComponent.)
Public propertyTextFormat
Returns chart text format. Read-only IChartTextFormat.
(Inherited from IFormattedTextContainer.)
Public propertyTextFrameForOverriding
Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.
(Inherited from IOverridableText.)
Public propertyTrendlineName
Gets or sets name of the trendline. Read/write String.
Public propertyTrendlineType
Gets or sets type of trend line. Read/write TrendlineType.
Methods
  NameDescription
Public methodAddTextFrameForOverriding
Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.
(Inherited from IOverridableText.)
See Also