trendLineStyle

Sets the style of the trend line. Set trendLineStyle=GraphConstants.AUTO to match the trend line style to the corresponding measure line. Otherwise, use one of the Line Style constants.

Type

A Line Style constant

Example

Chart1.trendLineColor = 'red';
Chart1.trendLineStyle = Chart.DASH_LINE;

trendlineColor

Either syntax below can be used in component script:

trendLineStyle          // unqualified
Chart1.trendLineStyle   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.