You are here

public function PHPExcel_Chart_DataSeries::refresh in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/DataSeries.php \PHPExcel_Chart_DataSeries::refresh()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/DataSeries.php, line 355

Class

PHPExcel_Chart_DataSeries
PHPExcel_Chart_DataSeries

Code

public function refresh(PHPExcel_Worksheet $worksheet) {
  foreach ($this->_plotValues as $plotValues) {
    if ($plotValues !== NULL) {
      $plotValues
        ->refresh($worksheet, TRUE);
    }
  }
  foreach ($this->_plotLabel as $plotValues) {
    if ($plotValues !== NULL) {
      $plotValues
        ->refresh($worksheet, TRUE);
    }
  }
  foreach ($this->_plotCategory as $plotValues) {
    if ($plotValues !== NULL) {
      $plotValues
        ->refresh($worksheet, FALSE);
    }
  }
}