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(type, dataRange, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn) | |
Adds a chart to the collection.
|
||
method | add(value) | |
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) | |
Reserved for internal use. |
||
method | get(index) | |
Reserved for internal use. |
||
method | indexOf(value) | |
Reserved for internal use. |
||
method | iterator() | |
method | remove(chart) | |
Remove the specific chart.
|
||
method | removeAt(index) | |
Remove a chart at the specific index.
|
int getCount()
Chart get(index)
index
- The zero based index of the element.Chart get(name)
name
- The chart name.int addFloatingChart(type, left, top, width, height)
int add(type, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn)
int add(type, dataRange, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn)
type: int
- A dataRange: String
- Specifies the data range of the chartupperLeftRow: int
- Upper left row index.upperLeftColumn: int
- Upper left column index.lowerRightRow: int
- Lower right row indexlowerRightColumn: int
- Lower right column indexremove(chart)
chart: Chart
- removeAt(index)
index: int
- The chart index.clear()
Iterator iterator()
Object get(index)
boolean contains(value)
int add(value)
int indexOf(value)