|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.Trendline
public class Trendline
Represents a trendline in a chart.
| Method Summary | |
|---|---|
boolean |
displayEquation()
Indicates whether the R-squared value of the trendline is displayed on the chart (in the same data label as the equation). |
boolean |
displayRSquared()
Indicates whether the equation for the trendline is displayed on the chart (in the same data label as the R-squared value). |
double |
getBackward()
Gets the number of periods (or units on a scatter chart) that the trendline extends backward. |
double |
getForward()
Gets the number of periods (or units on a scatter chart) that the trendline extends forward. |
double |
getIntercept()
Gets the point where the trendline crosses the value axis. |
Line |
getLine()
Gets the line or border of Trendlines object. |
java.lang.String |
getName()
Gets the name of the trendline. |
int |
getOrder()
Gets the trendline order (between 2 and 6) when the trendline type is Polynomial. |
int |
getPeriod()
Gets the period for the moving-average trendline. |
boolean |
isInterceptAuto()
Indicates whether Microsoft Workbook automatically determines the intercept of the trendline. |
boolean |
isNameAuto()
Indicats whether Microsoft Workbook automatically determines the name of the trendline. |
void |
setBackward(double backward)
Sets the number of periods (or units on a scatter chart) that the trendline extends backward. |
void |
setDisplayEquation(boolean displayEquation)
Sets whether the R-squared value of the trendline is displayed on the chart (in the same data label as the equation). |
void |
setDisplayRSquared(boolean displayRSquared)
Sets whether the equation for the trendline is displayed on the chart (in the same data label as the R-squared value). |
void |
setForward(double forward)
Sets the number of periods (or units on a scatter chart) that the trendline extends forward. |
void |
setIntercept(double intercept)
Sets the point where the trendline crosses the value axis. |
void |
setInterceptAuto(boolean setIntercept)
Sets whether Microsoft Workbook automatically determines the intercept of the trendline. |
void |
setLine(Line line)
Sets the line or border of Trendlines object. |
void |
setName(java.lang.String name)
Sets the name of the trendline. |
void |
setNameAuto(boolean isNameAuto)
Sets whether Microsoft Workbook automatically determines the name of the trendline. |
void |
setOrder(int order)
Sets the trendline order (between 2 and 6) when the trendline type is Polynomial. |
void |
setPeriod(int period)
Sets the period for the moving-average trendline.It must be between 2 and 255. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public double getBackward()
CellsException - if Trendlines object has bean removed.public void setBackward(double backward)
backward - the number of periods
CellsException - if Trendlines object has bean removed.public double getForward()
CellsException - if Trendlines object has bean removed.public void setForward(double forward)
forward - the number of periods
CellsException - if Trendlines object has bean removed.public Line getLine()
CellsException - if Trendlines object has bean removed.public void setLine(Line line)
line - the line or border of Trendlines object.
CellsException - if Trendlines object has bean removed.public void setName(java.lang.String name)
name - the name of the trendline.
CellsException - if Trendlines object has bean removed.public java.lang.String getName()
CellsException - if Trendlines object has bean removed.public int getOrder()
CellsException - if Trendlines object has bean removed.public void setOrder(int order)
order - the trendline order.
java.lang.IllegalArgumentException - if trendline order is not between 2 and 6.
CellsException - if Trendlines object has bean removed.public int getPeriod()
CellsException - if Trendlines object has bean removed.public void setPeriod(int period)
period - the period for the moving-average trendline.
java.lang.IllegalArgumentException - if trendline order is not between 2 and 255.
CellsException - if Trendlines object has bean removed.public void setIntercept(double intercept)
intercept - the point where the trendline crosses the value axis.
CellsException - if Trendlines object has bean removed.public double getIntercept()
CellsException - if Trendlines object has bean removed.public boolean displayRSquared()
CellsException - if Trendlines object has bean removed.setDisplayRSquared(boolean)public void setDisplayRSquared(boolean displayRSquared)
displayRSquared - whether the equation for the trendline is displayed on the chart.
CellsException - if Trendlines object has bean removed.public boolean displayEquation()
CellsException - if Trendlines object has bean removed.public void setDisplayEquation(boolean displayEquation)
displayEquation - whether the R-squared value of the trendline is displayed on the chart.
CellsException - if Trendlines object has bean removed.public boolean isNameAuto()
CellsException - if Trendlines object has bean removed.public void setNameAuto(boolean isNameAuto)
isNameAuto - whether Microsoft Workbook automatically determines the name of the trendline.
CellsException - if Trendlines object has bean removed.public boolean isInterceptAuto()
CellsException - if Trendlines object has bean removed.public void setInterceptAuto(boolean setIntercept)
setIntercept - whether Microsoft Workbook automatically determines the intercept of the trendline.
CellsException - if Trendlines object has bean removed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||