![]() |
||
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.Charts
public class Charts
Encapsulates a collection of Chart objects.
Method Summary | |
---|---|
int |
add(int chartType,
int upperLeftRow,
int upperLeftColumn,
int lowerRightRow,
int lowerRightColumn)
Adds a chart to the collection. |
int |
add(int chartType,
int row,
int column,
int left,
int top,
int width,
int height)
Adds a chart to the collection. |
Chart |
getChart(int index)
Gets chart object by index. |
int |
size()
Gets number of charts in the worksheet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add(int chartType, int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)
chartType
- chart type.upperLeftRow
- upper left row index.upperLeftColumn
- upper left column index.lowerRightRow
- lower right row index.lowerRightColumn
- lower right column index.
CellsException
- if the chart collection has been removed from the worksheet.ChartType
public int add(int chartType, int row, int column, int left, int top, int width, int height)
chartType
- chart type.row
- row index.column
- column index.left
- the horizontal offset from its upper left corner column, in unit of pixel.top
- the vertical offset from its upper left corner row, in unit of pixel.width
- height of chart, in unit of pixel.height
- width of chart, in unit of pixel.
java.lang.IllegalArgumentException
- if row or column index is out of range.
CellsException
- if the chart collection has been removed from the worksheet.public Chart getChart(int index)
index
- chart object index
java.lang.IllegalArgumentException
- if index is out of range.
CellsException
- if the chart collection has been removed from the worksheet.public int size()
CellsException
- if the chart collection has been removed from the worksheet.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |