java.lang.ObjectCollectionBase
com.aspose.cells.ChartCollection
public class ChartCollection
Example:
Workbook workbook = new Workbook();
ChartCollection charts = workbook.getWorksheets().get(0).getCharts();
| Property Getters/Setters Summary | ||
|---|---|---|
int | getCount() | → inherited from com.aspose.cells.CollectionBase
|
Chart | get(int) | |
|
Gets the |
||
Chart | get(java.lang.String) | |
| Gets the chart by the name. | ||
| Method Summary | ||
|---|---|---|
int | add(int type, int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn) | |
| Adds a chart to the collection. | ||
int | add(int type, java.lang.String dataRange, boolean isVertical, int topRow, int leftColumn, int rightRow, int bottomColumn) | |
| Adds a chart to the collection. | ||
int | add(int type, java.lang.String dataRange, int topRow, int leftColumn, int rightRow, int bottomColumn) | |
| Adds a chart to the collection. | ||
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
int | addFloatingChart(int type, int left, int top, int width, int height) | |
| Adds a chart to the collection. | ||
void | clear() | |
| Clear all charts. | ||
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase
|
void | remove(Chart chart) | |
| Remove the specific chart. | ||
void | removeAt(int index) | |
| Remove a chart at the specific index. | ||
| Property Getters/Setters Detail |
|---|
getCount | → inherited from com.aspose.cells.CollectionBase
|
public int getCount() | |
get | |
public Chart get(int index) | |
index - The zero based index of the element.get | |
public Chart get(java.lang.String name) | |
name - The chart name.| Method Detail |
|---|
addFloatingChart | |
public int addFloatingChart(int type, int left, int top, int width, int height) | |
type - A left - The x offset to cornertop - The y offset to cornerwidth - The chart widthheight - The chart heightadd | |
public int add(int type, int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn) | |
type - A upperLeftRow - Upper left row index.upperLeftColumn - Upper left column index.lowerRightRow - Lower right row indexlowerRightColumn - Lower right column indexadd | |
public int add(int type, java.lang.String dataRange, int topRow, int leftColumn, int rightRow, int bottomColumn) | |
type - A dataRange - Specifies the data range of the charttopRow - Upper left row index.leftColumn - Upper left column index.rightRow - Lower right row indexbottomColumn - Lower right column indexadd | |
public int add(int type, java.lang.String dataRange, boolean isVertical, int topRow, int leftColumn, int rightRow, int bottomColumn) | |
type - A dataRange - Specifies the data range of the chartisVertical - Specifies whether to plot the series from a range of cell values by row or by column.topRow - Upper left row index.leftColumn - Upper left column index.rightRow - Lower right row indexbottomColumn - Lower right column indexremove | |
public void remove(Chart chart) | |
chart - removeAt | |
public void removeAt(int index) | |
index - The chart index.clear | |
public void clear() | |
iterator | → inherited from com.aspose.cells.CollectionBase
|
public java.util.Iterator iterator() | |
contains | → inherited from com.aspose.cells.CollectionBase
|
public boolean contains(java.lang.Object value) | |
add | → inherited from com.aspose.cells.CollectionBase
|
public int add(java.lang.Object value) | |
indexOf | → inherited from com.aspose.cells.CollectionBase
|
public int indexOf(java.lang.Object value) | |