You are here

public static function PHPExcel_Settings::setChartRendererPath in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setChartRendererPath()

Tell PHPExcel where to find the external library to use for rendering charts

Parameters

string $libraryBaseDir Directory path to the library's base folder:

Return value

boolean Success or failure

1 call to PHPExcel_Settings::setChartRendererPath()
PHPExcel_Settings::setChartRenderer in vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php
Set details of the external library that PHPExcel should use for rendering charts

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php, line 240

Class

PHPExcel_Settings

Code

public static function setChartRendererPath($libraryBaseDir) {
  if (file_exists($libraryBaseDir) === false || is_readable($libraryBaseDir) === false) {
    return FALSE;
  }
  self::$_chartRendererPath = $libraryBaseDir;
  return TRUE;
}