\PhpOffice\PhpSpreadsheet\ChartPlotArea

Summary

Methods
Properties
Constants
__construct()
getLayout()
getPlotGroupCount()
getPlotSeriesCount()
getPlotGroup()
getPlotGroupByIndex()
setPlotSeries()
refresh()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$layout
$plotSeries
N/A

Properties

$layout

$layout : \PhpOffice\PhpSpreadsheet\Chart\Layout

PlotArea Layout.

Type

Layout

$plotSeries

$plotSeries : \PhpOffice\PhpSpreadsheet\Chart\DataSeries[]

Plot Series.

Type

DataSeries[]

Methods

__construct()

__construct(?\PhpOffice\PhpSpreadsheet\Chart\Layout  $layout = null, \PhpOffice\PhpSpreadsheet\Chart\DataSeries[]  $plotSeries = []) : mixed

Create a new PlotArea.

Parameters

?\PhpOffice\PhpSpreadsheet\Chart\Layout $layout
\PhpOffice\PhpSpreadsheet\Chart\DataSeries[] $plotSeries

Returns

mixed —

getLayout()

getLayout() : \PhpOffice\PhpSpreadsheet\Chart\Layout

Get Layout.

Returns

\PhpOffice\PhpSpreadsheet\Chart\Layout —

getPlotGroupCount()

getPlotGroupCount() : array

Get Number of Plot Groups.

Returns

array —

of DataSeries

getPlotSeriesCount()

getPlotSeriesCount() : int

Get Number of Plot Series.

Returns

int —

getPlotGroup()

getPlotGroup() : array

Get Plot Series.

Returns

array —

of DataSeries

getPlotGroupByIndex()

getPlotGroupByIndex(mixed  $index) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries

Get Plot Series by Index.

Parameters

mixed $index

Returns

\PhpOffice\PhpSpreadsheet\Chart\DataSeries —

setPlotSeries()

setPlotSeries(\PhpOffice\PhpSpreadsheet\Chart\DataSeries[]  $plotSeries) : $this

Set Plot Series.

Parameters

\PhpOffice\PhpSpreadsheet\Chart\DataSeries[] $plotSeries

Returns

$this —

refresh()

refresh(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $worksheet) : void

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet