Ejemplo n.º 1
0
 /**
  * Tell PHPExcel where to find the external library to use for rendering charts
  *
  * @param string $libraryBaseDir    Directory path to the library's base folder
  * @return    boolean    Success or failure
  */
 public static function setChartRendererPath($libraryBaseDir)
 {
     if (file_exists($libraryBaseDir) === false || is_readable($libraryBaseDir) === false) {
         return false;
     }
     self::$chartRendererPath = $libraryBaseDir;
     return true;
 }