ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, ?Title $title=null, ?Legend $legend=null, ?PlotArea $plotArea=null, $plotVisibleOnly=true, $displayBlanksAs=DataSeries::EMPTY_AS_GAP, ?Title $xAxisLabel=null, ?Title $yAxisLabel=null, ?Axis $xAxis=null, ?Axis $yAxis=null, ?GridLines $majorGridlines=null, ?GridLines $minorGridlines=null) | |
Create a new Chart. More... | |
getName () | |
Get Name. More... | |
getWorksheet () | |
Get Worksheet. More... | |
setWorksheet (?Worksheet $pValue=null) | |
Set Worksheet. More... | |
getTitle () | |
Get Title. More... | |
setTitle (Title $title) | |
Set Title. More... | |
getLegend () | |
Get Legend. More... | |
setLegend (Legend $legend) | |
Set Legend. More... | |
getXAxisLabel () | |
Get X-Axis Label. More... | |
setXAxisLabel (Title $label) | |
Set X-Axis Label. More... | |
getYAxisLabel () | |
Get Y-Axis Label. More... | |
setYAxisLabel (Title $label) | |
Set Y-Axis Label. More... | |
getPlotArea () | |
Get Plot Area. More... | |
getPlotVisibleOnly () | |
Get Plot Visible Only. More... | |
setPlotVisibleOnly ($plotVisibleOnly) | |
Set Plot Visible Only. More... | |
getDisplayBlanksAs () | |
Get Display Blanks as. More... | |
setDisplayBlanksAs ($displayBlanksAs) | |
Set Display Blanks as. More... | |
getChartAxisY () | |
Get yAxis. More... | |
getChartAxisX () | |
Get xAxis. More... | |
getMajorGridlines () | |
Get Major Gridlines. More... | |
getMinorGridlines () | |
Get Minor Gridlines. More... | |
setTopLeftPosition ($cell, $xOffset=null, $yOffset=null) | |
Set the Top Left position for the chart. More... | |
getTopLeftPosition () | |
Get the top left position of the chart. More... | |
getTopLeftCell () | |
Get the cell address where the top left of the chart is fixed. More... | |
setTopLeftCell ($cell) | |
Set the Top Left cell position for the chart. More... | |
setTopLeftOffset ($xOffset, $yOffset) | |
Set the offset position within the Top Left cell for the chart. More... | |
getTopLeftOffset () | |
Get the offset position within the Top Left cell for the chart. More... | |
setTopLeftXOffset ($xOffset) | |
getTopLeftXOffset () | |
setTopLeftYOffset ($yOffset) | |
getTopLeftYOffset () | |
setBottomRightPosition ($cell, $xOffset=null, $yOffset=null) | |
Set the Bottom Right position of the chart. More... | |
getBottomRightPosition () | |
Get the bottom right position of the chart. More... | |
setBottomRightCell ($cell) | |
getBottomRightCell () | |
Get the cell address where the bottom right of the chart is fixed. More... | |
setBottomRightOffset ($xOffset, $yOffset) | |
Set the offset position within the Bottom Right cell for the chart. More... | |
getBottomRightOffset () | |
Get the offset position within the Bottom Right cell for the chart. More... | |
setBottomRightXOffset ($xOffset) | |
getBottomRightXOffset () | |
setBottomRightYOffset ($yOffset) | |
getBottomRightYOffset () | |
refresh () | |
render ($outputDestination=null) | |
Render the chart to given file (or stream). More... | |
Private Attributes | |
$name = '' | |
$worksheet | |
$title | |
$legend | |
$xAxisLabel | |
$yAxisLabel | |
$plotArea | |
$plotVisibleOnly = true | |
$displayBlanksAs = DataSeries::EMPTY_AS_GAP | |
$yAxis | |
$xAxis | |
$majorGridlines | |
$minorGridlines | |
$topLeftCellRef = 'A1' | |
$topLeftXOffset = 0 | |
$topLeftYOffset = 0 | |
$bottomRightCellRef = 'A1' | |
$bottomRightXOffset = 10 | |
$bottomRightYOffset = 10 | |
PhpOffice\PhpSpreadsheet\Chart\Chart::__construct | ( | $name, | |
?Title | $title = null , |
||
?Legend | $legend = null , |
||
?PlotArea | $plotArea = null , |
||
$plotVisibleOnly = true , |
|||
$displayBlanksAs = DataSeries::EMPTY_AS_GAP , |
|||
?Title | $xAxisLabel = null , |
||
?Title | $yAxisLabel = null , |
||
?Axis | $xAxis = null , |
||
?Axis | $yAxis = null , |
||
?GridLines | $majorGridlines = null , |
||
?GridLines | $minorGridlines = null |
||
) |
Create a new Chart.
mixed | $name | |
mixed | $plotVisibleOnly | |
string | $displayBlanksAs |
Definition at line 150 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$displayBlanksAs, PhpOffice\PhpSpreadsheet\Chart\Chart\$legend, PhpOffice\PhpSpreadsheet\Chart\Chart\$majorGridlines, PhpOffice\PhpSpreadsheet\Chart\Chart\$minorGridlines, PhpOffice\PhpSpreadsheet\Chart\Chart\$name, PhpOffice\PhpSpreadsheet\Chart\Chart\$plotArea, PhpOffice\PhpSpreadsheet\Chart\Chart\$plotVisibleOnly, PhpOffice\PhpSpreadsheet\Chart\Chart\$title, PhpOffice\PhpSpreadsheet\Chart\Chart\$xAxis, PhpOffice\PhpSpreadsheet\Chart\Chart\$xAxisLabel, PhpOffice\PhpSpreadsheet\Chart\Chart\$yAxis, and PhpOffice\PhpSpreadsheet\Chart\Chart\$yAxisLabel.
PhpOffice\PhpSpreadsheet\Chart\Chart::getBottomRightCell | ( | ) |
Get the cell address where the bottom right of the chart is fixed.
Definition at line 568 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightCellRef.
PhpOffice\PhpSpreadsheet\Chart\Chart::getBottomRightOffset | ( | ) |
Get the offset position within the Bottom Right cell for the chart.
Definition at line 599 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightXOffset, and PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getBottomRightPosition | ( | ) |
Get the bottom right position of the chart.
Definition at line 547 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightCellRef, PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightXOffset, and PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getBottomRightXOffset | ( | ) |
Definition at line 614 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightXOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getBottomRightYOffset | ( | ) |
Definition at line 626 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$bottomRightYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getChartAxisX | ( | ) |
Get xAxis.
Definition at line 365 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$xAxis.
PhpOffice\PhpSpreadsheet\Chart\Chart::getChartAxisY | ( | ) |
Get yAxis.
Definition at line 351 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$yAxis.
PhpOffice\PhpSpreadsheet\Chart\Chart::getDisplayBlanksAs | ( | ) |
Get Display Blanks as.
Definition at line 327 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$displayBlanksAs.
PhpOffice\PhpSpreadsheet\Chart\Chart::getLegend | ( | ) |
Get Legend.
Definition at line 227 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$legend.
PhpOffice\PhpSpreadsheet\Chart\Chart::getMajorGridlines | ( | ) |
Get Major Gridlines.
Definition at line 379 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$majorGridlines.
PhpOffice\PhpSpreadsheet\Chart\Chart::getMinorGridlines | ( | ) |
Get Minor Gridlines.
Definition at line 393 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$minorGridlines.
PhpOffice\PhpSpreadsheet\Chart\Chart::getName | ( | ) |
Get Name.
Definition at line 171 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$name.
PhpOffice\PhpSpreadsheet\Chart\Chart::getPlotArea | ( | ) |
Get Plot Area.
Definition at line 293 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$plotArea.
PhpOffice\PhpSpreadsheet\Chart\Chart::getPlotVisibleOnly | ( | ) |
Get Plot Visible Only.
Definition at line 303 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$plotVisibleOnly.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTitle | ( | ) |
Get Title.
Definition at line 205 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$title.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTopLeftCell | ( | ) |
Get the cell address where the top left of the chart is fixed.
Definition at line 443 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftCellRef.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTopLeftOffset | ( | ) |
Get the offset position within the Top Left cell for the chart.
Definition at line 488 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftXOffset, and PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTopLeftPosition | ( | ) |
Get the top left position of the chart.
Definition at line 429 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftCellRef, PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftXOffset, and PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTopLeftXOffset | ( | ) |
Definition at line 503 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftXOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getTopLeftYOffset | ( | ) |
Definition at line 515 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$topLeftYOffset.
PhpOffice\PhpSpreadsheet\Chart\Chart::getWorksheet | ( | ) |
Get Worksheet.
Definition at line 181 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$worksheet.
PhpOffice\PhpSpreadsheet\Chart\Chart::getXAxisLabel | ( | ) |
Get X-Axis Label.
Definition at line 249 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$xAxisLabel.
PhpOffice\PhpSpreadsheet\Chart\Chart::getYAxisLabel | ( | ) |
Get Y-Axis Label.
Definition at line 271 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$yAxisLabel.
PhpOffice\PhpSpreadsheet\Chart\Chart::refresh | ( | ) |
Definition at line 631 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\render().
PhpOffice\PhpSpreadsheet\Chart\Chart::render | ( | $outputDestination = null | ) |
Render the chart to given file (or stream).
string | $outputDestination | Name of the file render to |
Definition at line 645 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Settings\getChartRenderer(), and PhpOffice\PhpSpreadsheet\Chart\Chart\refresh().
PhpOffice\PhpSpreadsheet\Chart\Chart::setBottomRightCell | ( | $cell | ) |
PhpOffice\PhpSpreadsheet\Chart\Chart::setBottomRightOffset | ( | $xOffset, | |
$yOffset | |||
) |
Set the offset position within the Bottom Right cell for the chart.
int | $xOffset | |
int | $yOffset |
Definition at line 581 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightXOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightYOffset().
PhpOffice\PhpSpreadsheet\Chart\Chart::setBottomRightPosition | ( | $cell, | |
$xOffset = null , |
|||
$yOffset = null |
|||
) |
Set the Bottom Right position of the chart.
string | $cell | |
int | $xOffset | |
int | $yOffset |
Definition at line 529 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightXOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightYOffset().
PhpOffice\PhpSpreadsheet\Chart\Chart::setBottomRightXOffset | ( | $xOffset | ) |
Definition at line 607 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightPosition().
PhpOffice\PhpSpreadsheet\Chart\Chart::setBottomRightYOffset | ( | $yOffset | ) |
Definition at line 619 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setBottomRightPosition().
PhpOffice\PhpSpreadsheet\Chart\Chart::setDisplayBlanksAs | ( | $displayBlanksAs | ) |
Set Display Blanks as.
string | $displayBlanksAs |
Definition at line 339 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$displayBlanksAs.
PhpOffice\PhpSpreadsheet\Chart\Chart::setLegend | ( | Legend | $legend | ) |
Set Legend.
Definition at line 237 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$legend.
PhpOffice\PhpSpreadsheet\Chart\Chart::setPlotVisibleOnly | ( | $plotVisibleOnly | ) |
Set Plot Visible Only.
bool | $plotVisibleOnly |
Definition at line 315 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$plotVisibleOnly.
PhpOffice\PhpSpreadsheet\Chart\Chart::setTitle | ( | Title | $title | ) |
Set Title.
Definition at line 215 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\$title.
PhpOffice\PhpSpreadsheet\Chart\Chart::setTopLeftCell | ( | $cell | ) |
PhpOffice\PhpSpreadsheet\Chart\Chart::setTopLeftOffset | ( | $xOffset, | |
$yOffset | |||
) |
Set the offset position within the Top Left cell for the chart.
int | $xOffset | |
int | $yOffset |
Definition at line 470 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftXOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftYOffset().
PhpOffice\PhpSpreadsheet\Chart\Chart::setTopLeftPosition | ( | $cell, | |
$xOffset = null , |
|||
$yOffset = null |
|||
) |
Set the Top Left position for the chart.
string | $cell | |
int | $xOffset | |
int | $yOffset |
Definition at line 411 of file Chart.php.
References PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftXOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftYOffset().
PhpOffice\PhpSpreadsheet\Chart\Chart::setTopLeftXOffset | ( | $xOffset | ) |
Definition at line 496 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftPosition().
PhpOffice\PhpSpreadsheet\Chart\Chart::setTopLeftYOffset | ( | $yOffset | ) |
Definition at line 508 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftOffset(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setTopLeftPosition().
PhpOffice\PhpSpreadsheet\Chart\Chart::setWorksheet | ( | ?Worksheet | $pValue = null | ) |
Set Worksheet.
Worksheet | $pValue |
Definition at line 193 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\addChart().
PhpOffice\PhpSpreadsheet\Chart\Chart::setXAxisLabel | ( | Title | $label | ) |
PhpOffice\PhpSpreadsheet\Chart\Chart::setYAxisLabel | ( | Title | $label | ) |
|
private |
Definition at line 127 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightCell(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightPosition().
|
private |
Definition at line 134 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightOffset(), PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightPosition(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightXOffset().
|
private |
Definition at line 141 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightOffset(), PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightPosition(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getBottomRightYOffset().
|
private |
Definition at line 71 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), PhpOffice\PhpSpreadsheet\Chart\Chart\getDisplayBlanksAs(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setDisplayBlanksAs().
|
private |
Definition at line 36 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), PhpOffice\PhpSpreadsheet\Chart\Chart\getLegend(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setLegend().
|
private |
Definition at line 92 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getMajorGridlines().
|
private |
Definition at line 99 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getMinorGridlines().
|
private |
Definition at line 15 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getName().
|
private |
Definition at line 57 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getPlotArea().
|
private |
Definition at line 64 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), PhpOffice\PhpSpreadsheet\Chart\Chart\getPlotVisibleOnly(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setPlotVisibleOnly().
|
private |
Definition at line 29 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), PhpOffice\PhpSpreadsheet\Chart\Chart\getTitle(), and PhpOffice\PhpSpreadsheet\Chart\Chart\setTitle().
|
private |
Definition at line 106 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftCell(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftPosition().
|
private |
Definition at line 113 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftOffset(), PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftPosition(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftXOffset().
|
private |
Definition at line 120 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftOffset(), PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftPosition(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getTopLeftYOffset().
|
private |
Definition at line 22 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\getWorksheet().
|
private |
Definition at line 85 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getChartAxisX().
|
private |
Definition at line 43 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getXAxisLabel().
|
private |
Definition at line 78 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getChartAxisY().
|
private |
Definition at line 50 of file Chart.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\__construct(), and PhpOffice\PhpSpreadsheet\Chart\Chart\getYAxisLabel().