AbstractType
in package
implements
ComparableInterface
AbstractYes
\PhpOffice\PhpPresentation\Shape\Chart\Type.
Table of Contents
Interfaces
- ComparableInterface
- PhpOffice\PhpPresentation\ComparableInterface.
Properties
- $hasAxisX : bool
- Has Axis X?
- $hasAxisY : bool
- Has Axis Y?
- $hashIndex : int
- Hash index.
- $series : array<int, Series>
Methods
- __clone() : mixed
- addSeries() : $this
- Add Series.
- getHashIndex() : null|int
- Get hash index.
- getSeries() : array<int, Series>
- Get Series.
- hasAxisX() : bool
- Has Axis X?
- hasAxisY() : bool
- Has Axis Y?
- setHashIndex() : AbstractType
- Set hash index.
- setSeries() : $this
- Set Series.
Properties
$hasAxisX
Has Axis X?
protected
bool
$hasAxisX
= true
$hasAxisY
Has Axis Y?
protected
bool
$hasAxisY
= true
$hashIndex
Hash index.
private
int
$hashIndex
$series
private
array<int, Series>
$series
= []
Methods
__clone()
public
__clone() : mixed
Tags
addSeries()
Add Series.
public
addSeries(Series $value) : $this
Parameters
- $value : Series
Return values
$thisgetHashIndex()
Get hash index.
public
getHashIndex() : null|int
Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
Return values
null|int —Hash index
getSeries()
Get Series.
public
getSeries() : array<int, Series>
Return values
array<int, Series>hasAxisX()
Has Axis X?
public
hasAxisX() : bool
Return values
boolhasAxisY()
Has Axis Y?
public
hasAxisY() : bool
Return values
boolsetHashIndex()
Set hash index.
public
setHashIndex(int $value) : AbstractType
Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
Parameters
- $value : int
-
Hash index
Return values
AbstractTypesetSeries()
Set Series.
public
setSeries([array<int, Series> $series = [] ]) : $this
Parameters
- $series : array<int, Series> = []