Documentation

Scatter extends AbstractTypeLine
in package
implements ComparableInterface

\PhpOffice\PhpPresentation\Shape\Chart\Type.

Table of Contents

Interfaces

ComparableInterface
PhpOffice\PhpPresentation\ComparableInterface.

Properties

$hasAxisX  : bool
Has Axis X?
$hasAxisY  : bool
Has Axis Y?
$isSmooth  : bool
Is Line Smooth?
$hashIndex  : int
Hash index.
$series  : array<int, Series>

Methods

__clone()  : mixed
addSeries()  : $this
Add Series.
getHashCode()  : string
Get hash code.
getHashIndex()  : null|int
Get hash index.
getSeries()  : array<int, Series>
Get Series.
hasAxisX()  : bool
Has Axis X?
hasAxisY()  : bool
Has Axis Y?
isSmooth()  : bool
Is Line Smooth?
setHashIndex()  : AbstractType
Set hash index.
setIsSmooth()  : self
Set Line Smoothness.
setSeries()  : $this
Set Series.

Properties

Methods

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getHashIndex()

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

hasAxisX()

Has Axis X?

public hasAxisX() : bool
Return values
bool

hasAxisY()

Has Axis Y?

public hasAxisY() : bool
Return values
bool

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

setIsSmooth()

Set Line Smoothness.

public setIsSmooth([bool $value = true ]) : self
Parameters
$value : bool = true
Return values
self

setSeries()

Set Series.

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

        
On this page

Search results