Example #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;
 }
Example #2
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)
 {
     self::$_chartRendererPath = $libraryBaseDir;
     return TRUE;
 }