DATASERIES_TYPE_STRING
DATASERIES_TYPE_STRING = 'String'
PHPExcel_Chart_DataSeriesValues
Copyright (c) 2006 - 2015 PHPExcel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
$dataType : string
Series Data Type
$dataSource : string
Series Data Source
$formatCode : string
Format Code
$pointMarker : string
Series Point Marker
$pointCount : int
Point Count (The number of datapoints in the dataseries)
$dataValues : array
Data Values
__construct(mixed $dataType = self::DATASERIES_TYPE_NUMBER, mixed $dataSource = null, mixed $formatCode = null, mixed $pointCount, mixed $dataValues = array(), mixed $marker = null) : mixed
Create a new PHPExcel_Chart_DataSeriesValues object
| mixed | $dataType | |
| mixed | $dataSource | |
| mixed | $formatCode | |
| mixed | $pointCount | |
| mixed | $dataValues | |
| mixed | $marker |
setDataType(string $dataType = self::DATASERIES_TYPE_NUMBER) : \PHPExcel_Chart_DataSeriesValues
Set Series Data Type
| string | $dataType | Datatype of this data series Typical values are: PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_STRING Normally used for axis point values PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_NUMBER Normally used for chart data values |
setDataValues(array $dataValues = array(), bool $refreshDataSource = true) : \PHPExcel_Chart_DataSeriesValues
Set Series Data Values
| array | $dataValues | |
| bool | $refreshDataSource | TRUE - refresh the value of dataSource based on the values of $dataValues FALSE - don't change the value of dataSource |