ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($dataType=self::DATASERIES_TYPE_NUMBER, $dataSource=null, $formatCode=null, $pointCount=0, $dataValues=[], $marker=null, $fillColor=null) | |
Create a new DataSeriesValues object. More... | |
getDataType () | |
Get Series Data Type. More... | |
setDataType ($dataType) | |
Set Series Data Type. More... | |
getDataSource () | |
Get Series Data Source (formula). More... | |
setDataSource ($dataSource) | |
Set Series Data Source (formula). More... | |
getPointMarker () | |
Get Point Marker. More... | |
setPointMarker ($marker) | |
Set Point Marker. More... | |
getFormatCode () | |
Get Series Format Code. More... | |
setFormatCode ($formatCode) | |
Set Series Format Code. More... | |
getPointCount () | |
Get Series Point Count. More... | |
getFillColor () | |
Get fill color. More... | |
setFillColor ($color) | |
Set fill color for series. More... | |
getLineWidth () | |
Get line width for series. More... | |
setLineWidth ($width) | |
Set line width for the series. More... | |
isMultiLevelSeries () | |
Identify if the Data Series is a multi-level or a simple series. More... | |
multiLevelCount () | |
Return the level count of a multi-level Data Series. More... | |
getDataValues () | |
Get Series Data Values. More... | |
getDataValue () | |
Get the first Series Data value. More... | |
setDataValues ($dataValues) | |
Set Series Data Values. More... | |
refresh (Worksheet $worksheet, $flatten=true) | |
Data Fields | |
const | DATASERIES_TYPE_STRING = 'String' |
const | DATASERIES_TYPE_NUMBER = 'Number' |
Private Member Functions | |
validateColor ($color) | |
Method for validating hex color. More... | |
Private Attributes | |
$dataType | |
$dataSource | |
$formatCode | |
$pointMarker | |
$pointCount = 0 | |
$dataValues = [] | |
$fillColor | |
$lineWidth = 12700 | |
Static Private Attributes | |
static | $dataTypeValues |
Definition at line 10 of file DataSeriesValues.php.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::__construct | ( | $dataType = self::DATASERIES_TYPE_NUMBER , |
|
$dataSource = null , |
|||
$formatCode = null , |
|||
$pointCount = 0 , |
|||
$dataValues = [] , |
|||
$marker = null , |
|||
$fillColor = null |
|||
) |
Create a new DataSeriesValues object.
string | $dataType | |
string | $dataSource | |
null | mixed | $formatCode | |
int | $pointCount | |
mixed | $dataValues | |
null | mixed | $marker | |
null|string|string[] | $fillColor |
Definition at line 87 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataSource, PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataType, PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataValues, PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$fillColor, PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$formatCode, PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$pointCount, and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setDataType().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getDataSource | ( | ) |
Get Series Data Source (formula).
Definition at line 135 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataSource.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getDataType | ( | ) |
Get Series Data Type.
Definition at line 103 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataType.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getDataValue | ( | ) |
Get the first Series Data value.
Definition at line 328 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataValues.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getDataValues | ( | ) |
Get Series Data Values.
Definition at line 318 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataValues.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getFillColor | ( | ) |
Get fill color.
Definition at line 217 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$fillColor.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getFormatCode | ( | ) |
Get Series Format Code.
Definition at line 183 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$formatCode.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getLineWidth | ( | ) |
Get line width for series.
Definition at line 264 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$lineWidth.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getPointCount | ( | ) |
Get Series Point Count.
Definition at line 207 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$pointCount.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::getPointMarker | ( | ) |
Get Point Marker.
Definition at line 159 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$pointMarker.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::isMultiLevelSeries | ( | ) |
Identify if the Data Series is a multi-level or a simple series.
Definition at line 289 of file DataSeriesValues.php.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::multiLevelCount | ( | ) |
Return the level count of a multi-level Data Series.
Definition at line 303 of file DataSeriesValues.php.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::refresh | ( | Worksheet | $worksheet, |
$flatten = true |
|||
) |
Definition at line 355 of file DataSeriesValues.php.
References $i, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\extractSheetTitle(), PhpOffice\PhpSpreadsheet\Calculation\Functions\flattenArray(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\getInstance(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getParent(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\rangeDimension(), and PhpOffice\PhpSpreadsheet\Calculation\Calculation\unwrapResult().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setDataSource | ( | $dataSource | ) |
Set Series Data Source (formula).
string | $dataSource |
Definition at line 147 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataSource.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setDataType | ( | $dataType | ) |
Set Series Data Type.
string | $dataType | Datatype of this data series Typical values are: DataSeriesValues::DATASERIES_TYPE_STRING Normally used for axis point values DataSeriesValues::DATASERIES_TYPE_NUMBER Normally used for chart data values |
Definition at line 120 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataType.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setDataValues | ( | $dataValues | ) |
Set Series Data Values.
array | $dataValues |
Definition at line 347 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$dataValues, and PhpOffice\PhpSpreadsheet\Calculation\Functions\flattenArray().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setFillColor | ( | $color | ) |
Set fill color for series.
string|string[] | $color HEX color or array with HEX colors |
Definition at line 229 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\validateColor().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setFormatCode | ( | $formatCode | ) |
Set Series Format Code.
string | $formatCode |
Definition at line 195 of file DataSeriesValues.php.
References PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\$formatCode.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\Chart\chartDataSeriesValueSet().
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setLineWidth | ( | $width | ) |
Set line width for the series.
int | $width |
Definition at line 276 of file DataSeriesValues.php.
PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::setPointMarker | ( | $marker | ) |
Set Point Marker.
string | $marker |
Definition at line 171 of file DataSeriesValues.php.
|
private |
Method for validating hex color.
string | $color | value for color |
Definition at line 250 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setFillColor().
|
private |
Definition at line 32 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getDataSource(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setDataSource().
|
private |
Definition at line 25 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getDataType(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setDataType().
|
staticprivate |
Definition at line 15 of file DataSeriesValues.php.
|
private |
Definition at line 60 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getDataValue(), PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getDataValues(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setDataValues().
|
private |
Definition at line 67 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getFillColor().
|
private |
Definition at line 39 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getFormatCode(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\setFormatCode().
|
private |
Definition at line 74 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getLineWidth().
|
private |
Definition at line 53 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\__construct(), and PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getPointCount().
|
private |
Definition at line 46 of file DataSeriesValues.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues\getPointMarker().
const PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::DATASERIES_TYPE_NUMBER = 'Number' |
Definition at line 13 of file DataSeriesValues.php.
const PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues::DATASERIES_TYPE_STRING = 'String' |
Definition at line 12 of file DataSeriesValues.php.