Ejemplo n.º 1
0
 /**
  * Identify to PHPExcel the external library to use for rendering charts
  *
  * @param string $libraryName    Internal reference name of the library
  *    e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH
  *
  * @return    boolean    Success or failure
  */
 public static function setChartRendererName($libraryName)
 {
     if (!in_array($libraryName, self::$chartRenderers)) {
         return false;
     }
     self::$chartRendererName = $libraryName;
     return true;
 }