Example:
workbook = Workbook() charts = workbook.getWorksheets().get(0).getCharts()
Property Getters/Setters Summary | ||
---|---|---|
method | getCount() | |
method | get(index) | |
Gets the |
||
method | get(name) | |
Gets the chart by the name. |
Method Summary | ||
---|---|---|
method | add(type, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn) | |
Adds a chart to the collection. | ||
method | add(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | addFloatingChart(type, left, top, width, height) | |
Adds a chart to the collection. | ||
method | clear() | |
Clear all charts. | ||
method | contains(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | iterator() | → inherited from CollectionBase |
method | remove(chart) | |
Remove the specific chart. | ||
method | removeAt(index) | |
Remove a chart at the specific index. |
Property Getters/Setters Detail |
---|
getCount : int | |
int getCount() |
get : Chart | |
Chart get(index) |
index
- The zero based index of the element.get : Chart | |
Chart get(name) |
name
- The chart name.Method Detail |
---|
addFloatingChart | |
int addFloatingChart(type, left, top, width, height) |
type: int
- A left: int
- The x offset to cornertop: int
- The y offset to cornerwidth: int
- The chart widthheight: int
- The chart heightadd | |
int add(type, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn) |
type: int
- A upperLeftRow: int
- Upper left row index.upperLeftColumn: int
- Upper left column index.lowerRightRow: int
- Lower right row indexlowerRightColumn: int
- Lower right column indexremove | |
remove(chart) |
chart: Chart
- removeAt | |
removeAt(index) |
index: int
- The chart index.clear | |
clear() |
iterator | |
Iterator iterator() |
get | |
Object get(index) |
contains | |
boolean contains(value) |
add | |
int add(value) |
indexOf | |
int indexOf(value) |