From 19dfbfe4189a9cbd81f25bbcde2a6e0341cb5103 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sat, 21 Jul 2012 11:57:02 +0100 Subject: [PATCH] Remove chart diagnostics from echoes --- Classes/PHPExcel/Chart/DataSeriesValues.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Classes/PHPExcel/Chart/DataSeriesValues.php b/Classes/PHPExcel/Chart/DataSeriesValues.php index 6ef5e10d..741e454a 100644 --- a/Classes/PHPExcel/Chart/DataSeriesValues.php +++ b/Classes/PHPExcel/Chart/DataSeriesValues.php @@ -278,11 +278,11 @@ class PHPExcel_Chart_DataSeriesValues } public function refresh(PHPExcel_Worksheet $worksheet) { - echo '$this->_dataSource:',PHP_EOL; - var_dump($this->_dataSource); +// echo '$this->_dataSource:',PHP_EOL; +// var_dump($this->_dataSource); if ($this->_dataSource !== NULL) { - echo '$this->_dataValues:',PHP_EOL; - var_dump($this->_dataValues); +// echo '$this->_dataValues:',PHP_EOL; +// var_dump($this->_dataValues); $calcEngine = PHPExcel_Calculation::getInstance(); $newDataValues = PHPExcel_Calculation::_unwrapResult( @@ -293,13 +293,13 @@ class PHPExcel_Chart_DataSeriesValues ) ); - echo '$newDataValues:',PHP_EOL; - var_dump($newDataValues); +// echo '$newDataValues:',PHP_EOL; +// var_dump($newDataValues); $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues); $this->_dataValues = array_values(array_shift($newDataValues)); // $this->_dataValues = array_filter($this->_dataValues,array($this,'_stripNulls')); - echo '$this->_dataValues:',PHP_EOL; - var_dump($this->_dataValues); +// echo '$this->_dataValues:',PHP_EOL; +// var_dump($this->_dataValues); } }