Api trendlineModel in JavaScript Chart control

18 Nov 20181 minute to read

Interface for a class Trendline

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 string

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 string

Defines the type of the trendline

width number

Defines the width of the trendline