Example:
$workbook = new cells\Workbook(); $charts = $workbook->getWorksheets()->get(0)->getCharts();
Property Getters/Setters Summary | ||
---|---|---|
function | getCount() | |
function | get(index) | |
Gets the |
||
function | get(name) | |
Gets the chart by the name.
|
Method Summary | ||
---|---|---|
function | add(type, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn) | |
Adds a chart to the collection.
|
||
function | add(type, dataRange, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn) | |
Adds a chart to the collection.
|
||
function | add(value) | |
Reserved for internal use. |
||
function | addFloatingChart(type, left, top, width, height) | |
Adds a chart to the collection.
|
||
function | clear() | |
Clear all charts.
|
||
function | contains(value) | |
Reserved for internal use. |
||
function | get(index) | |
Reserved for internal use. |
||
function | indexOf(value) | |
Reserved for internal use. |
||
function | iterator() | |
function | remove(chart) | |
Remove the specific chart.
|
||
function | removeAt(index) | |
Remove a chart at the specific index.
|
function getCount()
function get(index)
index
- The zero based index of the element.function get(name)
name
- The chart name.function addFloatingChart(type, left, top, width, height)
function add(type, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn)
type: Number
- A upperLeftRow: Number
- Upper left row index.upperLeftColumn: Number
- Upper left column index.lowerRightRow: Number
- Lower right row indexlowerRightColumn: Number
- Lower right column indexfunction add(type, dataRange, upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn)
type: Number
- A dataRange: String
- Specifies the data range of the chartupperLeftRow: Number
- Upper left row index.upperLeftColumn: Number
- Upper left column index.lowerRightRow: Number
- Lower right row indexlowerRightColumn: Number
- Lower right column indexfunction remove(chart)
chart: Chart
- function removeAt(index)
index: Number
- The chart index.function clear()
function iterator()
function get(index)
function contains(value)
function add(value)
function indexOf(value)