Excel.Interfaces.ChartTrendlineCollectionLoadOptions interface
Represents a collection of chart trendlines.
Remarks
Properties
$all | Specifying |
backward |
For EACH ITEM in the collection: Represents the number of periods that the trendline extends backward. |
format | For EACH ITEM in the collection: Represents the formatting of a chart trendline. |
forward |
For EACH ITEM in the collection: Represents the number of periods that the trendline extends forward. |
intercept | For EACH ITEM in the collection: Represents the intercept value of the trendline. Can be set to a numeric value or an empty string (for automatic values). The returned value is always a number. |
label | For EACH ITEM in the collection: Represents the label of a chart trendline. |
moving |
For EACH ITEM in the collection: Represents the period of a chart trendline. Only applicable to trendlines with the type |
name | For EACH ITEM in the collection: Represents the name of the trendline. Can be set to a string value, a |
polynomial |
For EACH ITEM in the collection: Represents the order of a chart trendline. Only applicable to trendlines with the type |
show |
For EACH ITEM in the collection: True if the equation for the trendline is displayed on the chart. |
show |
For EACH ITEM in the collection: True if the r-squared value for the trendline is displayed on the chart. |
type | For EACH ITEM in the collection: Represents the type of a chart trendline. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
backwardPeriod
For EACH ITEM in the collection: Represents the number of periods that the trendline extends backward.
backwardPeriod?: boolean;
Property Value
boolean
Remarks
format
For EACH ITEM in the collection: Represents the formatting of a chart trendline.
format?: Excel.Interfaces.ChartTrendlineFormatLoadOptions;
Property Value
Remarks
forwardPeriod
For EACH ITEM in the collection: Represents the number of periods that the trendline extends forward.
forwardPeriod?: boolean;
Property Value
boolean
Remarks
intercept
For EACH ITEM in the collection: Represents the intercept value of the trendline. Can be set to a numeric value or an empty string (for automatic values). The returned value is always a number.
intercept?: boolean;
Property Value
boolean
Remarks
label
For EACH ITEM in the collection: Represents the label of a chart trendline.
label?: Excel.Interfaces.ChartTrendlineLabelLoadOptions;
Property Value
Remarks
movingAveragePeriod
For EACH ITEM in the collection: Represents the period of a chart trendline. Only applicable to trendlines with the type MovingAverage
.
movingAveragePeriod?: boolean;
Property Value
boolean
Remarks
name
For EACH ITEM in the collection: Represents the name of the trendline. Can be set to a string value, a null
value represents automatic values. The returned value is always a string
name?: boolean;
Property Value
boolean
Remarks
polynomialOrder
For EACH ITEM in the collection: Represents the order of a chart trendline. Only applicable to trendlines with the type Polynomial
.
polynomialOrder?: boolean;
Property Value
boolean
Remarks
showEquation
For EACH ITEM in the collection: True if the equation for the trendline is displayed on the chart.
showEquation?: boolean;
Property Value
boolean
Remarks
showRSquared
For EACH ITEM in the collection: True if the r-squared value for the trendline is displayed on the chart.
showRSquared?: boolean;
Property Value
boolean
Remarks
type
For EACH ITEM in the collection: Represents the type of a chart trendline.
type?: boolean;
Property Value
boolean
Remarks
Office Add-ins