ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($dataType=self::DATASERIES_TYPE_NUMBER, $dataSource=null, $formatCode=null, $pointCount=0, $dataValues=array(), $marker=null) | |
Create a new PHPExcel_Chart_DataSeriesValues object. More... | |
getDataType () | |
Get Series Data Type. More... | |
setDataType ($dataType=self::DATASERIES_TYPE_NUMBER) | |
Set Series Data Type. More... | |
getDataSource () | |
Get Series Data Source (formula) More... | |
setDataSource ($dataSource=null, $refreshDataValues=true) | |
Set Series Data Source (formula) More... | |
getPointMarker () | |
Get Point Marker. More... | |
setPointMarker ($marker=null) | |
Set Point Marker. More... | |
getFormatCode () | |
Get Series Format Code. More... | |
setFormatCode ($formatCode=null) | |
Set Series Format Code. More... | |
getPointCount () | |
Get Series Point Count. 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=array(), $refreshDataSource=TRUE) | |
Set Series Data Values. More... | |
refresh (PHPExcel_Worksheet $worksheet, $flatten=TRUE) | |
Data Fields | |
const | DATASERIES_TYPE_STRING = 'String' |
const | DATASERIES_TYPE_NUMBER = 'Number' |
Private Member Functions | |
_stripNulls ($var) | |
Private Attributes | |
$_dataType = null | |
$_dataSource = null | |
$_formatCode = null | |
$_marker = null | |
$_pointCount = 0 | |
$_dataValues = array() | |
Static Private Attributes | |
static | $_dataTypeValues |
Definition at line 36 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::__construct | ( | $dataType = self::DATASERIES_TYPE_NUMBER , |
|
$dataSource = null , |
|||
$formatCode = null , |
|||
$pointCount = 0 , |
|||
$dataValues = array() , |
|||
$marker = null |
|||
) |
Create a new PHPExcel_Chart_DataSeriesValues object.
Definition at line 92 of file DataSeriesValues.php.
References setDataType().
|
private |
Definition at line 276 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::getDataSource | ( | ) |
Get Series Data Source (formula)
Definition at line 136 of file DataSeriesValues.php.
References $_dataSource.
PHPExcel_Chart_DataSeriesValues::getDataType | ( | ) |
Get Series Data Type.
Definition at line 107 of file DataSeriesValues.php.
References $_dataType.
PHPExcel_Chart_DataSeriesValues::getDataValue | ( | ) |
Get the first Series Data value.
Definition at line 246 of file DataSeriesValues.php.
References $_dataValues.
PHPExcel_Chart_DataSeriesValues::getDataValues | ( | ) |
Get Series Data Values.
Definition at line 237 of file DataSeriesValues.php.
References $_dataValues.
PHPExcel_Chart_DataSeriesValues::getFormatCode | ( | ) |
Get Series Format Code.
Definition at line 182 of file DataSeriesValues.php.
References $_formatCode.
PHPExcel_Chart_DataSeriesValues::getPointCount | ( | ) |
Get Series Point Count.
Definition at line 203 of file DataSeriesValues.php.
References $_pointCount.
PHPExcel_Chart_DataSeriesValues::getPointMarker | ( | ) |
Get Point Marker.
Definition at line 161 of file DataSeriesValues.php.
References $_marker.
PHPExcel_Chart_DataSeriesValues::isMultiLevelSeries | ( | ) |
Identify if the Data Series is a multi-level or a simple series.
Definition at line 212 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::multiLevelCount | ( | ) |
Return the level count of a multi-level Data Series.
Definition at line 224 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::refresh | ( | PHPExcel_Worksheet | $worksheet, |
$flatten = TRUE |
|||
) |
Definition at line 280 of file DataSeriesValues.php.
References $i, PHPExcel_Calculation\_unwrapResult(), array, PHPExcel_Calculation_Functions\flattenArray(), PHPExcel_Worksheet\getCell(), PHPExcel_Calculation\getInstance(), PHPExcel_Worksheet\getParent(), and PHPExcel_Cell\rangeDimension().
PHPExcel_Chart_DataSeriesValues::setDataSource | ( | $dataSource = null , |
|
$refreshDataValues = true |
|||
) |
Set Series Data Source (formula)
string | $dataSource |
Definition at line 146 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::setDataType | ( | $dataType = self::DATASERIES_TYPE_NUMBER | ) |
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 |
Definition at line 122 of file DataSeriesValues.php.
Referenced by __construct(), and DataSeriesValuesTest\testGetDataType().
PHPExcel_Chart_DataSeriesValues::setDataValues | ( | $dataValues = array() , |
|
$refreshDataSource = TRUE |
|||
) |
Set Series Data Values.
array | $dataValues | |
boolean | $refreshDataSource | TRUE - refresh the value of _dataSource based on the values of $dataValues FALSE - don't change the value of _dataSource |
Definition at line 265 of file DataSeriesValues.php.
References PHPExcel_Calculation_Functions\flattenArray().
PHPExcel_Chart_DataSeriesValues::setFormatCode | ( | $formatCode = null | ) |
Set Series Format Code.
string | $formatCode |
Definition at line 192 of file DataSeriesValues.php.
PHPExcel_Chart_DataSeriesValues::setPointMarker | ( | $marker = null | ) |
|
private |
Definition at line 59 of file DataSeriesValues.php.
Referenced by getDataSource().
|
private |
Definition at line 52 of file DataSeriesValues.php.
Referenced by getDataType().
|
staticprivate |
Definition at line 42 of file DataSeriesValues.php.
|
private |
Definition at line 87 of file DataSeriesValues.php.
Referenced by getDataValue(), and getDataValues().
|
private |
Definition at line 66 of file DataSeriesValues.php.
Referenced by getFormatCode().
|
private |
Definition at line 73 of file DataSeriesValues.php.
Referenced by getPointMarker().
|
private |
Definition at line 80 of file DataSeriesValues.php.
Referenced by getPointCount().
const PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_NUMBER = 'Number' |
Definition at line 40 of file DataSeriesValues.php.
const PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_STRING = 'String' |
Definition at line 39 of file DataSeriesValues.php.