You are here

public function PHPExcel_Chart_DataSeriesValues::multiLevelCount in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/DataSeriesValues.php \PHPExcel_Chart_DataSeriesValues::multiLevelCount()

* Return the level count of a multi-level Data Series * *

Return value

boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/DataSeriesValues.php, line 224

Class

PHPExcel_Chart_DataSeriesValues
PHPExcel_Chart_DataSeriesValues

Code

public function multiLevelCount() {
  $levelCount = 0;
  foreach ($this->_dataValues as $dataValueSet) {
    $levelCount = max($levelCount, count($dataValueSet));
  }
  return $levelCount;
}