Interface for a class Trendline
Options to improve accessibility for chart trendline elements.
Options to customize the animation for trendlines.
number
Defines the period by which the trend is to be backward forecasted.
string
Configures the pattern of dashes and gaps in the trendline stroke using the dashArray
property.
boolean
Enables or disables the tooltip for the trendline using the enableTooltip
property. By default, it is set to true.
string
The fill color for the trendline, which accepts values in hex or rgba as valid CSS color strings.
number
Defines the period by which the trend must be forward forecasted.
number
Specifies the intercept value of the trendline.
The legendShape
property defines the shape used to represent the trendline in the chart legend.
Options for customizing the markers for trendlines, including shape, size, color, and other visual aspects.
string
The name
property is used to assign a descriptive name to the trendline, which will be displayed in the chart as a legend.
number
Defines the period, the price changes over which will be considered to predict the moving average trendline.
number
Defines the polynomial order of the polynomial trendline.
Defines the type of trendline used in the series. Available types are:
boolean
The visible
property controls the display of the trendline. If set to true, the trendline will be rendered on the chart. If set to false, the trendline will be hidden.
number
Defines the width of the trendline.