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

NameTypeAccessDescription
trendline_namestrRead/WriteGets or sets name of the trendline.
trendline_typeTrendlineTypeRead/WriteGets or sets type of trend line.
backwardfloatRead/WriteSpecifies 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.
forwardfloatRead/WriteSpecifies the number of categories (or units on a scatter chart) that the trendline extends after the data for the series that is being trended.
interceptfloatRead/WriteSpecifies the value where the trendline shall cross the y axis.
display_equationboolRead/WriteSpecifies that the equation for the trendline is displayed on the chart (in the same label as the Rsquaredvalue).
orderintRead/WriteSpecifies the order of the polynomial trend line.
periodintRead/WriteSpecifies the period of the trend line for a moving average trend line.
display_r_squared_valueboolRead/WriteSpecifies that the R-squared value of the trendline is displayed on the chart (in the same label as the equation).
text_frame_for_overridingITextFrameReadCan contain a rich formatted text.
text_formatIChartTextFormatReadGets the text format.
as_i_chart_componentIChartComponentReadGets the as i chart component.
chartIChartReadGets the chart.
as_i_slide_componentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
add_text_frame_for_overriding(text) → ITextFrameCalls add_text_frame_for_overriding(text) on this ITrendline instance.

See Also