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(value) | → inherited from CollectionBase |
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) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | iterator() | → inherited from CollectionBase |
function | remove(chart) | |
Remove the specific chart. | ||
function | removeAt(index) | |
Remove a chart at the specific index. |
Property Getters/Setters Detail |
---|
getCount : Number | |
function getCount() |
get : Chart | |
function get(index) |
index
- The zero based index of the element.get : Chart | |
function get(name) |
name
- The chart name.Method Detail |
---|
addFloatingChart | |
function addFloatingChart(type, left, top, width, height) |
type: Number
- A left: Number
- The x offset to cornertop: Number
- The y offset to cornerwidth: Number
- The chart widthheight: Number
- The chart heightadd | |
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 indexremove | |
function remove(chart) |
chart: Chart
- removeAt | |
function removeAt(index) |
index: Number
- The chart index.clear | |
function clear() |
iterator | |
function iterator() |
get | |
function get(index) |
contains | |
function contains(value) |
add | |
function add(value) |
indexOf | |
function indexOf(value) |