PHP Class PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType

Inheritance: implements PhpOffice\PhpPresentation\ComparableInterface
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Property Type Description
$hasAxisX boolean Has Axis X?
$hasAxisY boolean Has Axis Y?

Public Methods

Method Description
__clone ( ) : mixed
addSeries ( Series $value ) : self Add Series
getData ( ) Get Data
getHashIndex ( ) : string Get hash index
getSeries ( ) : Series[] Get Series
hasAxisX ( ) : boolean Has Axis X?
hasAxisY ( ) : boolean Has Axis Y?
setData ( $value = [] ) Set Data
setHashIndex ( string $value ) Set hash index
setSeries ( array $value = [] ) : self Set Series

Method Details

__clone() public method

public __clone ( ) : mixed
return mixed

addSeries() public method

Add Series
public addSeries ( Series $value ) : self
$value PhpOffice\PhpPresentation\Shape\Chart\Series
return self

getData() public method

Get Data
Deprecation: getSeries
public getData ( )

getHashIndex() public method

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.
public getHashIndex ( ) : string
return string Hash index

getSeries() public method

Get Series
public getSeries ( ) : Series[]
return PhpOffice\PhpPresentation\Shape\Chart\Series[]

hasAxisX() public method

Has Axis X?
public hasAxisX ( ) : boolean
return boolean

hasAxisY() public method

Has Axis Y?
public hasAxisY ( ) : boolean
return boolean

setData() public method

Set Data
Deprecation: setSeries
public setData ( $value = [] )

setHashIndex() public method

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.
public setHashIndex ( string $value )
$value string Hash index

setSeries() public method

Set Series
public setSeries ( array $value = [] ) : self
$value array Array of \PhpOffice\PhpPresentation\Shape\Chart\Series
return self

Property Details

$hasAxisX protected property

Has Axis X?
protected bool $hasAxisX
return boolean

$hasAxisY protected property

Has Axis Y?
protected bool $hasAxisY
return boolean