You are here

public function PHPExcel_Worksheet::getChartNames in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::getChartNames()

Return an array of the names of charts on this worksheet

Return value

string[] The names of charts

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 628

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

public function getChartNames() {
  $chartNames = array();
  foreach ($this->_chartCollection as $chart) {
    $chartNames[] = $chart
      ->getName();
  }
  return $chartNames;
}