ITrendline
Overview
ITrendline is a class in Aspose.Slides FOSS for Python.
Inherits from: IOverridableText, ABC.
Class represents trend line of chart series
This class declares 1 method for ITrendline objects in Python programs.
Available methods include: add_text_frame_for_overriding.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_chart_component, as_i_presentation_component, as_i_slide_component, backward, chart, display_equation, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
trendline_name | str | Read/Write | Gets or sets name of the trendline. |
trendline_type | TrendlineType | Read/Write | Gets or sets type of trend line. |
backward | float | Read/Write | 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. |
forward | float | Read/Write | 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. |
intercept | float | Read/Write | Specifies the value where the trendline shall cross the y axis. |
display_equation | bool | Read/Write | Specifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue). |
order | int | Read/Write | Specifies the order of the polynomial trend line. |
period | int | Read/Write | Specifies the period of the trend line for a moving average trend line. |
display_r_squared_value | bool | Read/Write | Specifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation). |
text_frame_for_overriding | ITextFrame | Read | Can contain a rich formatted text. |
text_format | IChartTextFormat | Read | Gets the text format. |
as_i_chart_component | IChartComponent | Read | Gets the as i chart component. |
chart | IChart | Read | Gets the chart. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide component. |
slide | IBaseSlide | Read | Gets the slide. |
as_i_presentation_component | IPresentationComponent | Read | Gets the as i presentation component. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
add_text_frame_for_overriding(text) → ITextFrame | Calls add_text_frame_for_overriding(text) on this ITrendline instance. |