Documentation

Doughnut extends AbstractTypePie
in package
implements ComparableInterface

self.

Interfaces, Classes and Traits

ComparableInterface
PhpOffice\PhpPresentation\ComparableInterface.

Table of Contents

$explosion  : int
Explosion of the Pie.
$hasAxisX  : bool
Has Axis X?
$hasAxisY  : bool
Has Axis Y?
$holeSize  : int
Hole Size.
$hashIndex  : int
Hash index.
$series  : array<int, Series>
__clone()  : mixed
__construct()  : mixed
Create a new self instance.
addSeries()  : $this
Add Series.
getExplosion()  : int
Get orientation.
getHashCode()  : string
Get hash code.
getHashIndex()  : int|null
Get hash index.
getHoleSize()  : int
getSeries()  : array<int, Series>
Get Series.
hasAxisX()  : bool
Has Axis X?
hasAxisY()  : bool
Has Axis Y?
setExplosion()  : self
Set explosion.
setHashIndex()  : AbstractType
Set hash index.
setHoleSize()  : Doughnut
setSeries()  : $this
Set Series.

Properties

$holeSize

Hole Size.

protected int $holeSize = 50

Methods

__construct()

Create a new self instance.

public __construct() : mixed
Return values
mixed

addSeries()

Add Series.

public addSeries(Series $value) : $this
Parameters
$value : Series
Return values
$this

getExplosion()

Get orientation.

public getExplosion() : int
Return values
int

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getHashIndex()

Get hash index.

public getHashIndex() : int|null

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
int|null

Hash index

getHoleSize()

public getHoleSize() : int
Return values
int

hasAxisX()

Has Axis X?

public hasAxisX() : bool
Return values
bool

hasAxisY()

Has Axis Y?

public hasAxisY() : bool
Return values
bool

setExplosion()

Set explosion.

public setExplosion(int $value) : self
Parameters
$value : int
Return values
self

setHashIndex()

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
AbstractType

setSeries()

Set Series.

public setSeries([array<int, Series$series = [] ]) : $this
Parameters
$series : array<int, Series> = []
Return values
$this

Search results