/** * 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; }
/** * 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; }