![]() |
||
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.Trendlines
public class Trendlines
Represents a collection of all the Trendline objects for the specified data series.
Method Summary | |
---|---|
int |
addTrendline(int trendlineType)
Adds a object to this collection with specified type. |
int |
addTrendline(int trendlineType,
java.lang.String name)
Adds a object to this collection with specified type and name. |
void |
delete(int index)
Removes Trendline object by index. |
Trendline |
get(int index)
Gets Trendline object by index. |
int |
size()
Gets the size of this collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int addTrendline(int trendlineType)
trendlineType
- Trendline type.
It could be one of the following values: TrendlineType.LINEAR |
TrendlineType.EXPONENTIAL |
TrendlineType.LOGARITHMIC |
TrendlineType.MOVING_AVERAGE |
TrendlineType.POLYNOMIAL |
TrendlineType.POWER |
CellsException
- if series has bean removed.public int addTrendline(int trendlineType, java.lang.String name)
trendlineType
- Trendline type.name
- Trendline name.
CellsException
- if series has bean removed.addTrendline(int)
public Trendline get(int index)
index
- Trendline object index.
java.lang.IllegalArgumentException
- if index is out of range.public void delete(int index)
index
- Trendline object index.
java.lang.IllegalArgumentException
- if index is out of range.
CellsException
- if series has bean removed.public int size()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |