PHP Class PhpOffice\PhpPresentation\Shape\Chart

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

Public Methods

Method Description
__clone ( )
__construct ( ) Create a new Chart
getHashCode ( ) : string Get hash code
getIndexedFilename ( ) : string Get indexed filename (using image index)
getLegend ( ) : PhpOffice\PhpPresentation\Shape\Chart\Legend Get Legend
getPlotArea ( ) : PlotArea Get PlotArea
getTitle ( ) : PhpOffice\PhpPresentation\Shape\Chart\Title Get Title
getView3D ( ) : PhpOffice\PhpPresentation\Shape\Chart\View3D Get View3D
hasIncludedSpreadsheet ( ) : boolean Include spreadsheet for editing data? Requires PHPExcel in the same folder as PhpPresentation
setIncludeSpreadsheet ( boolean $value = false ) : Chart Include spreadsheet for editing data? Requires PHPExcel in the same folder as PhpPresentation

Method Details

__clone() public method

public __clone ( )

__construct() public method

Create a new Chart
public __construct ( )

getHashCode() public method

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

getIndexedFilename() public method

Get indexed filename (using image index)
public getIndexedFilename ( ) : string
return string

getLegend() public method

Get Legend
public getLegend ( ) : PhpOffice\PhpPresentation\Shape\Chart\Legend
return PhpOffice\PhpPresentation\Shape\Chart\Legend

getPlotArea() public method

Get PlotArea
public getPlotArea ( ) : PlotArea
return PhpOffice\PhpPresentation\Shape\Chart\PlotArea

getTitle() public method

Get Title
public getTitle ( ) : PhpOffice\PhpPresentation\Shape\Chart\Title
return PhpOffice\PhpPresentation\Shape\Chart\Title

getView3D() public method

Get View3D
public getView3D ( ) : PhpOffice\PhpPresentation\Shape\Chart\View3D
return PhpOffice\PhpPresentation\Shape\Chart\View3D

hasIncludedSpreadsheet() public method

Include spreadsheet for editing data? Requires PHPExcel in the same folder as PhpPresentation
public hasIncludedSpreadsheet ( ) : boolean
return boolean

setIncludeSpreadsheet() public method

Include spreadsheet for editing data? Requires PHPExcel in the same folder as PhpPresentation
public setIncludeSpreadsheet ( boolean $value = false ) : Chart
$value boolean
return Chart