\PhpOffice\PhpSpreadsheet\Reader\XlsxChart

Summary

Methods
Properties
Constants
readChart()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getAttribute()
readColor()
chartTitle()
chartLayoutDetails()
chartDataSeries()
chartDataSeriesValueSet()
chartDataSeriesValues()
chartDataSeriesValuesMultiLevel()
parseRichText()
readChartAttributes()
setChartAttributes()
No private properties found
N/A

Methods

readChart()

readChart(\SimpleXMLElement  $chartElements, string  $chartName) : \PhpOffice\PhpSpreadsheet\Chart\Chart

Parameters

\SimpleXMLElement $chartElements
string $chartName

Returns

\PhpOffice\PhpSpreadsheet\Chart\Chart —

getAttribute()

getAttribute(\SimpleXMLElement  $component, string  $name, string  $format) : null|bool|float|int|string

Parameters

\SimpleXMLElement $component
string $name
string $format

Returns

null|bool|float|int|string —

readColor()

readColor(mixed  $color, mixed  $background = false) : mixed

Parameters

mixed $color
mixed $background

Returns

mixed —

chartTitle()

chartTitle(\SimpleXMLElement  $titleDetails, array  $namespacesChartMeta) : mixed

Parameters

\SimpleXMLElement $titleDetails
array $namespacesChartMeta

Returns

mixed —

chartLayoutDetails()

chartLayoutDetails(mixed  $chartDetail, mixed  $namespacesChartMeta) : mixed

Parameters

mixed $chartDetail
mixed $namespacesChartMeta

Returns

mixed —

chartDataSeries()

chartDataSeries(mixed  $chartDetail, mixed  $namespacesChartMeta, mixed  $plotType) : mixed

Parameters

mixed $chartDetail
mixed $namespacesChartMeta
mixed $plotType

Returns

mixed —

chartDataSeriesValueSet()

chartDataSeriesValueSet(mixed  $seriesDetail, mixed  $namespacesChartMeta, mixed  $marker = null) : mixed

Parameters

mixed $seriesDetail
mixed $namespacesChartMeta
mixed $marker

Returns

mixed —

chartDataSeriesValues()

chartDataSeriesValues(mixed  $seriesValueSet, mixed  $dataType = 'n') : mixed

Parameters

mixed $seriesValueSet
mixed $dataType

Returns

mixed —

chartDataSeriesValuesMultiLevel()

chartDataSeriesValuesMultiLevel(mixed  $seriesValueSet, mixed  $dataType = 'n') : mixed

Parameters

mixed $seriesValueSet
mixed $dataType

Returns

mixed —

parseRichText()

parseRichText(\SimpleXMLElement  $titleDetailPart) : mixed

Parameters

\SimpleXMLElement $titleDetailPart

Returns

mixed —

readChartAttributes()

readChartAttributes(mixed  $chartDetail) : mixed

Parameters

mixed $chartDetail

Returns

mixed —

setChartAttributes()

setChartAttributes(\PhpOffice\PhpSpreadsheet\Chart\Layout  $plotArea, mixed  $plotAttributes) : void

Parameters

\PhpOffice\PhpSpreadsheet\Chart\Layout $plotArea
mixed $plotAttributes