PHP Class PhpOffice\PhpPresentation\Shape\Chart\PlotArea

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

Public Methods

Method Description
__clone ( )
__construct ( ) Create a new \PhpOffice\PhpPresentation\Shape\Chart\PlotArea instance
getAxisX ( ) : Axis Get Axis X
getAxisY ( ) : Axis Get Axis Y
getHashCode ( ) : string Get hash code
getHashIndex ( ) : string Get hash index
getHeight ( ) : float Get Height (as a fraction of the chart)
getOffsetX ( ) : float Get OffsetX (as a fraction of the chart)
getOffsetY ( ) : float Get OffsetY (as a fraction of the chart)
getType ( ) : AbstractType Get type
getWidth ( ) : float Get Width (as a fraction of the chart)
setHashIndex ( string $value ) Set hash index
setHeight ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title Set Height (as a fraction of the chart)
setOffsetX ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title Set OffsetX (as a fraction of the chart)
setOffsetY ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title Set OffsetY (as a fraction of the chart)
setType ( AbstractType $value ) : PlotArea Set type
setWidth ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title Set Width (as a fraction of the chart)

Method Details

__clone() public method

public __clone ( )

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\Chart\PlotArea instance
public __construct ( )

getAxisX() public method

Get Axis X
public getAxisX ( ) : Axis
return Axis

getAxisY() public method

Get Axis Y
public getAxisY ( ) : Axis
return Axis

getHashCode() public method

Get hash code
public getHashCode ( ) : string
return string Hash code

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

getHeight() public method

Get Height (as a fraction of the chart)
public getHeight ( ) : float
return float

getOffsetX() public method

Get OffsetX (as a fraction of the chart)
public getOffsetX ( ) : float
return float

getOffsetY() public method

Get OffsetY (as a fraction of the chart)
public getOffsetY ( ) : float
return float

getType() public method

Get type
public getType ( ) : AbstractType
return PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType

getWidth() public method

Get Width (as a fraction of the chart)
public getWidth ( ) : float
return float

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

setHeight() public method

Set Height (as a fraction of the chart)
public setHeight ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title
$value float | integer
return PhpOffice\PhpPresentation\Shape\Chart\Title

setOffsetX() public method

Set OffsetX (as a fraction of the chart)
public setOffsetX ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title
$value float | integer
return PhpOffice\PhpPresentation\Shape\Chart\Title

setOffsetY() public method

Set OffsetY (as a fraction of the chart)
public setOffsetY ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title
$value float | integer
return PhpOffice\PhpPresentation\Shape\Chart\Title

setType() public method

Set type
public setType ( AbstractType $value ) : PlotArea
$value PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType
return PlotArea

setWidth() public method

Set Width (as a fraction of the chart)
public setWidth ( float | integer $value ) : PhpOffice\PhpPresentation\Shape\Chart\Title
$value float | integer
return PhpOffice\PhpPresentation\Shape\Chart\Title