$calculateCellValues
$calculateCellValues :
$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Parent Xlsx object.
getParentWriter() : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Get parent Xlsx object.
__construct(\PhpOffice\PhpSpreadsheet\Writer\Xlsx $pWriter)
Set parent Xlsx object.
\PhpOffice\PhpSpreadsheet\Writer\Xlsx | $pWriter |
writeChart(\PhpOffice\PhpSpreadsheet\Chart\Chart $pChart, mixed $calculateCellValues = true) : string
Write charts to XML format.
\PhpOffice\PhpSpreadsheet\Chart\Chart | $pChart | |
mixed | $calculateCellValues |
XML Output
writeTitle(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Title $title = null)
Write Chart Title.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Title | $title |
writeLegend(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Legend $legend = null)
Write Chart Legend.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Legend | $legend |
writePlotArea(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet, \PhpOffice\PhpSpreadsheet\Chart\PlotArea $plotArea, \PhpOffice\PhpSpreadsheet\Chart\Title $xAxisLabel = null, \PhpOffice\PhpSpreadsheet\Chart\Title $yAxisLabel = null, \PhpOffice\PhpSpreadsheet\Chart\Axis $xAxis = null, \PhpOffice\PhpSpreadsheet\Chart\Axis $yAxis = null, null|\PhpOffice\PhpSpreadsheet\Chart\GridLines $majorGridlines = null, null|\PhpOffice\PhpSpreadsheet\Chart\GridLines $minorGridlines = null)
Write Chart Plot Area.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pSheet | |
\PhpOffice\PhpSpreadsheet\Chart\PlotArea | $plotArea | |
\PhpOffice\PhpSpreadsheet\Chart\Title | $xAxisLabel | |
\PhpOffice\PhpSpreadsheet\Chart\Title | $yAxisLabel | |
\PhpOffice\PhpSpreadsheet\Chart\Axis | $xAxis | |
\PhpOffice\PhpSpreadsheet\Chart\Axis | $yAxis | |
null|\PhpOffice\PhpSpreadsheet\Chart\GridLines | $majorGridlines | |
null|\PhpOffice\PhpSpreadsheet\Chart\GridLines | $minorGridlines |
writeDataLabels(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Layout $chartLayout = null)
Write Data Labels.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Layout | $chartLayout | Chart layout |
writeCategoryAxis(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Title $xAxisLabel, string $id1, string $id2, boolean $isMultiLevelSeries, \PhpOffice\PhpSpreadsheet\Chart\Axis $yAxis)
Write Category Axis.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Title | $xAxisLabel | |
string | $id1 | |
string | $id2 | |
boolean | $isMultiLevelSeries | |
\PhpOffice\PhpSpreadsheet\Chart\Axis | $yAxis |
writeValueAxis(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Title $yAxisLabel, string $groupType, string $id1, string $id2, boolean $isMultiLevelSeries, \PhpOffice\PhpSpreadsheet\Chart\Axis $xAxis, \PhpOffice\PhpSpreadsheet\Chart\GridLines $majorGridlines, \PhpOffice\PhpSpreadsheet\Chart\GridLines $minorGridlines)
Write Value Axis.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Title | $yAxisLabel | |
string | $groupType | Chart type |
string | $id1 | |
string | $id2 | |
boolean | $isMultiLevelSeries | |
\PhpOffice\PhpSpreadsheet\Chart\Axis | $xAxis | |
\PhpOffice\PhpSpreadsheet\Chart\GridLines | $majorGridlines | |
\PhpOffice\PhpSpreadsheet\Chart\GridLines | $minorGridlines |
getChartType(\PhpOffice\PhpSpreadsheet\Chart\PlotArea $plotArea) : array|string
Get the data series type(s) for a chart plot series.
\PhpOffice\PhpSpreadsheet\Chart\PlotArea | $plotArea |
writePlotSeriesValuesElement(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, integer $val = 3, string $fillColor = 'FF9900') : \PhpOffice\PhpSpreadsheet\Shared\XMLWriter
Method writing plot series values.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
integer | $val | value for idx (default: 3) |
string | $fillColor | hex color (default: FF9900) |
XML Writer
writePlotGroup(\PhpOffice\PhpSpreadsheet\Chart\DataSeries $plotGroup, string $groupType, \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, $catIsMultiLevelSeries, $valIsMultiLevelSeries, $plotGroupingType)
Write Plot Group (series of related plots).
\PhpOffice\PhpSpreadsheet\Chart\DataSeries | $plotGroup | |
string | $groupType | Type of plot for dataseries |
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
$catIsMultiLevelSeries | ||
$valIsMultiLevelSeries | ||
$plotGroupingType |
writePlotSeriesLabel(\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues $plotSeriesLabel, \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter)
Write Plot Series Label.
\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues | $plotSeriesLabel | |
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
writePlotSeriesValues(\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues $plotSeriesValues, \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, string $groupType, string $dataType = 'str')
Write Plot Series Values.
\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues | $plotSeriesValues | |
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
string | $groupType | Type of plot for dataseries |
string | $dataType | Datatype of series values |
writeBubbles(\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues $plotSeriesValues, \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter)
Write Bubble Chart Details.
\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues | $plotSeriesValues | |
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
writeLayout(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Layout $layout = null)
Write Layout.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Chart\Layout | $layout |
writeAlternateContent(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter)
Write Alternate Content block.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
writePrintSettings(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter)
Write Printer Settings.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |