setTrendLineExcludedMeasures(array)

Remove the trend line from the measures specified in the array argument. (See Add a Target Line/Curve Fit for information on how to set trend lines.)

Parameters

array

An array of measure names for which to hide the trend line

Examples

Chart1.setTrendLineExcludedMeasures(['Sum(Product:Total)','Count(Order:Num)'])

setTrendLineExcludedMeasures

Either syntax below can be used in component script:

setTrendLineExcludedMeasures(array)           // unqualified
Chart1.setTrendLineExcludedMeasures(array)    // qualified

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