![]() |
||
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)
Deprecated. replaced by addChart(int, int, int, int, int) |
int |
add(int chartType,
int row,
int column,
int left,
int top,
int width,
int height)
Deprecated. replaced by addChart(int, int, int, int, int, int, int) |
Chart |
addChart(int chartType,
int upperLeftRow,
int upperLeftColumn,
int lowerRightRow,
int lowerRightColumn)
Adds a chart to the collection. |
Chart |
addChart(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. |
boolean |
remove(Chart chart)
Remove a chart from the collection |
boolean |
remove(int index)
Remove a chart from the collection |
int |
size()
Gets number of charts in the worksheet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add(int chartType, int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)
addChart(int, int, int, int, int)
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)
addChart(int, int, int, int, int, int, int)
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 addChart(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 Chart addChart(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 boolean remove(Chart chart)
chart
- Chart to be removed
public boolean remove(int index)
index
- Chart index to be removed
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 |