Pie

Extends \PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractTypePie Implements \PhpOffice\PhpPresentation\ComparableInterface

self

package

Default

Methods

__clone

__clone() : mixed
inherited

Create a new self instance

__construct() 
inherited

Add Series

addSeries(\PhpOffice\PhpPresentation\Shape\Chart\Series $value) : self
inherited

Arguments

Response

self

Get Data

getData() 
inherited
deprecated

getSeries

Get orientation

getExplosion() : string
inherited

Response

string

Get hash code

getHashCode() : string
inherited

Response

string

Hash code

Get hash index

getHashIndex() : string
inherited

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.

Response

string

Hash index

Get Series

getSeries() : array<mixed,\PhpOffice\PhpPresentation\Shape\Chart\Series>
inherited

Has Axis X?

hasAxisX() : boolean
inherited

Response

boolean

Has Axis Y?

hasAxisY() : boolean
inherited

Response

boolean

Set Data

setData( $value = array()) 
inherited
deprecated

setSeries

Arguments

$value

Set explosion

setExplosion(integer $value) : \PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractTypePie
inherited

Set hash index

setHashIndex(string $value) 
inherited

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.

Arguments

$value

string

Hash index

Set Series

setSeries(array $value = array()) : self
inherited

Arguments

$value

array

Array of \PhpOffice\PhpPresentation\Shape\Chart\Series

Response

self

Properties

Explosion of the Pie

explosion : integer
inherited
var

Type(s)

integer

Has Axis X?

hasAxisX : boolean
inherited
var

Type(s)

boolean

Has Axis Y?

hasAxisY : boolean
inherited
var

Type(s)

boolean

Hash index

hashIndex : string
inherited
var

Type(s)

string

Data

data : array
inherited
var

Type(s)

array