TrendlineModel

10 Oct 20251 minute to read

Interface for a class Trendline

Properties

animation PivotChartAnimationModel

Allows options to customize the animation for trendlines

backwardForecast number

Allows to set the period, by which the trend has to backward forecast

dashArray string

Allows to set the pattern of dashes and gaps to stroke.

enableTooltip boolean

Allows to set the visibility of the tooltip for trendlines

fill string

Allows to set the fill color of trendline

forwardForecast number

Allows to set the period, by which the trend has to forward forecast

intercept number

Allows to set the intercept of the trendline

legendShape LegendShape

Allows to set the legend shape of the trendline

marker PivotChartMarkerSettingsModel

Allows options to customize the marker for trendlines

name string

Allows to set the name of trendline

period number

Allows to set the period, the price changes over which will be considered to predict moving average trend line

polynomialOrder number

Allows to set the polynomial order of the polynomial trendline

type TrendlineTypes

Allows to set the type of the trendline

visible boolean

Allows to specify the visibility of trendline.

width number

Allows to set the width of the trendline