![]() |
||
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.NSeries
public class NSeries
Encapsulates a collection of ASeries objects.
Method Summary | |
---|---|
int |
add()
Adds an empty ASeries object to a chart. |
int |
add(java.lang.String area,
boolean isVertical)
Adds the Series Collection to a chart. |
void |
changeSeriesOrder(int sourceIndex,
int destIndex)
Chanages the tow serieses order.It will cause the series index changed. |
ASeries |
get(int index)
Gets Series object by index. |
java.lang.String |
getCategoryData()
Gets the range of category Axis values. |
java.lang.String |
getSecondCategoryData()
Gets the range of second category Axis values. |
void |
remove(int index)
Removes a series from the collection |
void |
setCategoryData(java.lang.String categoryData)
Sets the range of category Axis values. |
void |
setSecondCategoryData(java.lang.String categoryData)
Sets the range of second category Axis values. |
int |
size()
Gets number of series. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add()
CellsException
- if chart has been removed.public int add(java.lang.String area, boolean isVertical)
area
- Specifies values from which to plot the data series;
It can be:
isVertical
- Specifies whether to plot the series from a range of cell values by row or by column.
CellsException
- if NSeries has been removed.public ASeries get(int index)
index
- Aseries index.
java.lang.IllegalArgumentException
- if index is out of range.
CellsException
- if chart has been removed.public void changeSeriesOrder(int sourceIndex, int destIndex)
sourceIndex
- series source index.destIndex
- series dest index.
CellsException
- if chart has been removed.
java.lang.IllegalArgumentException
- if index is out of range.public int size()
CellsException
- if chart has been removed.public void setCategoryData(java.lang.String categoryData)
categoryData
- the range of category Axis values.
It can be:
java.lang.IllegalArgumentException
- if category data is invalid.
CellsException
- if chart has been removed.public java.lang.String getCategoryData()
CellsException
- if chart has been removed.setCategoryData(String)
public void setSecondCategoryData(java.lang.String categoryData)
categoryData
- the range of category Axis values.
java.lang.IllegalArgumentException
- if category data is invalid.
CellsException
- if chart has been removed.setCategoryData(String)
public java.lang.String getSecondCategoryData()
CellsException
- if chart has been removed.setCategoryData(String)
public void remove(int index)
index
- the index of series that will be removed
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |