public interface ITrendline
| Modifier and Type | Method and Description |
|---|---|
void |
clearFormats()
Clears the formatting of the object.
|
void |
delete()
Deletes the object.
|
double |
getBackward()
Gets the number of periods (or units on a scatter chart) that the trendline
extends backward.
|
boolean |
getDisplayEquation()
Gets whether to display the equation for the trendline (True if the equation
for the trendline is displayed on the chart, in the same data label as the
R-squared value).
|
boolean |
getDisplayRSquared()
Gets whether to display the R-squared value (True if the R-squared value of
the trendline is displayed on the chart, in the same data label as the
equation).
|
IChartFormat |
getFormat()
Returns the format for chart elements.
|
double |
getForward()
Gets the number of periods (or units on a scatter chart) that the trendline
extends forward.
|
int |
getIndex()
Returns the index number of the object within the collection of similar
objects.
|
double |
getIntercept()
Gets the point where the trendline crosses the value axis.
|
java.lang.String |
getName()
Gets the name of the object.
|
boolean |
getNameIsAuto()
Gets if the trendline's name is automatically determined.
|
int |
getOrder()
Gets the trendline order (an integer greater than 1) when the trendline type
is Polynomial.
|
ISeries |
getParent()
Returns the parent object for the specified object.
|
int |
getPeriod()
Gets the period for the moving-average trendline.
|
TrendlineType |
getType()
Gets the trendline type.
|
void |
setBackward(double value)
Sets the number of periods (or units on a scatter chart) that the trendline
extends backward.
|
void |
setDisplayEquation(boolean value)
Sets whether to display the equation for the trendline (True if the equation
for the trendline is displayed on the chart, in the same data label as the
R-squared value).
|
void |
setDisplayRSquared(boolean value)
Sets whether to display the R-squared value (True if the R-squared value of
the trendline is displayed on the chart, in the same data label as the
equation).
|
void |
setForward(double value)
Sets the number of periods (or units on a scatter chart) that the trendline
extends forward.
|
void |
setIntercept(double value)
Sets the point where the trendline crosses the value axis.
|
void |
setName(java.lang.String name)
Sets the name of the object.
|
void |
setNameIsAuto(boolean value)
Sets if the trendline's name is automatically determined.
|
void |
setOrder(int value)
Sets the trendline order (an integer greater than 1) when the trendline type
is Polynomial.
|
void |
setPeriod(int value)
Sets the period for the moving-average trendline.
|
void |
setType(TrendlineType value)
Sets the trendline type.
|
int getIndex()
double getBackward()
void setBackward(double value)
boolean getDisplayEquation()
void setDisplayEquation(boolean value)
boolean getDisplayRSquared()
void setDisplayRSquared(boolean value)
IChartFormat getFormat()
double getForward()
void setForward(double value)
double getIntercept()
void setIntercept(double value)
java.lang.String getName()
void setName(java.lang.String name)
boolean getNameIsAuto()
void setNameIsAuto(boolean value)
int getOrder()
void setOrder(int value)
ISeries getParent()
int getPeriod()
void setPeriod(int value)
TrendlineType getType()
void setType(TrendlineType value)
void clearFormats()
void delete()