11 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
13 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
18 $dataTypeValues =
array(
25 foreach($dataTypeValues as $dataTypeValue) {
26 $result = $testInstance->setDataType($dataTypeValue);
36 $result = $testInstance->setDataType(
'BOOLEAN');
38 $this->assertEquals($e->getMessage(),
'Invalid datatype for chart data series values');
41 $this->fail(
'An expected exception has not been raised.');
46 $dataTypeValue =
'String';
49 $setValue = $testInstance->
setDataType($dataTypeValue);
51 $result = $testInstance->getDataType();
52 $this->assertEquals($dataTypeValue,
$result);
testSetInvalidDataTypeThrowsException()
setDataType($dataType=self::DATASERIES_TYPE_NUMBER)
Set Series Data Type.
Create styles array
The data for the language used.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'