public class ChartCollection
Example:
Workbook workbook = new Workbook(); ChartCollection charts = workbook.getWorksheets().get(0).getCharts();
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Chart | get(int index) | |
Gets the |
||
Chart | get(java.lang.String name) | |
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(java.lang.Object value) | |
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) | |
Reserved for internal use. |
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
java.util.Iterator | iterator() | |
void | remove(Chart chart) | |
Remove the specific chart.
|
||
void | removeAt(int index) | |
Remove a chart at the specific index.
|
public int getCount()
public Chart get(int index)
index
- The zero based index of the element.public Chart get(java.lang.String name)
name
- The chart name.public int addFloatingChart(int type, int left, int top, int width, int height)
public int add(int type, int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)
public void remove(Chart chart)
chart
- public void removeAt(int index)
index
- The chart index.public void clear()
public java.util.Iterator iterator()
public boolean contains(java.lang.Object value)
public int add(java.lang.Object value)
public int indexOf(java.lang.Object value)