public function PHPExcel_Chart_DataSeriesValues::setDataValues in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/DataSeriesValues.php \PHPExcel_Chart_DataSeriesValues::setDataValues()
* Set Series Data Values * *
Parameters
array $dataValues: * @param boolean $refreshDataSource * TRUE - refresh the value of _dataSource based on the values of $dataValues * FALSE - don't change the value of _dataSource * @return PHPExcel_Chart_DataSeriesValues
File
- vendor/phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ DataSeriesValues.php, line 265 
Class
- PHPExcel_Chart_DataSeriesValues
- PHPExcel_Chart_DataSeriesValues
Code
public function setDataValues($dataValues = array(), $refreshDataSource = TRUE) {
  $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($dataValues);
  $this->_pointCount = count($dataValues);
  if ($refreshDataSource) {
    //	TO DO
  }
  return $this;
}