StockChartTrendlineModel

23 Sep 20251 minute to read

Interface for a class StockChartTrendline

Properties

animation AnimationModel

Options to customize the animation for trendlines.

backwardForecast number

Defines the period, by which the trend has to backward forecast.

enableTooltip boolean

Enables/disables tooltip for trendlines.

fill string

Defines the fill color of trendline.

forwardForecast number

Defines the period, by which the trend has to forward forecast.

intercept number

Defines the intercept of the trendline.

legendShape LegendShape

Sets the legend shape of the trendline.

marker MarkerSettingsModel

Options to customize the marker for trendlines.

name string

Defines the name of trendline.

period number

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

polynomialOrder number

Defines the polynomial order of the polynomial trendline.

type TrendlineTypes

Defines the type of the trendline.

width number

Defines the width of the trendline.