trendLine

Sets the mathematical formula for the trend line (e.g., linear, quadratic, etc).

Type

One of the following constants:

Chart.CUBIC
Chart.EXPONENTIAL
Chart.LINEAR
Chart.LOGARITHMIC
Chart.NONE;
Chart.POWER
Chart.QUADRATIC

Example

trendLine = Chart.QUADRATIC;
trendLineStyle = Chart.DASH_LINE;

trendlineColor

Either syntax below can be used in component script:

trendLine          // unqualified
Chart1.trendLine   // qualified

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