Trendline

Overview

Trendline is a class in Aspose.Slides FOSS for Python. Inherits from: ITrendline.

Represents a trend line of a chart series.

Properties

NameTypeAccessDescription
trendline_namestrReadIs the name identifier of the trendline
trendline_typeTrendlineTypeReadSpecifies the type of the trendline (e.g., linear, exponential)
backwardfloatReadDefines the number of points the trendline extends backward
forwardfloatRead
interceptfloatReadSets the Y‑intercept value of the trendline
display_equationboolRead
orderintReadDetermines the polynomial order for polynomial trendlines
periodintReadSets the period for moving average trendlines
display_r_squared_valueboolReadIndicates whether the R² value is displayed