You are here

public static function PHPExcel_Settings::setChartRendererName in Loft Data Grids 6.2

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

Identify to PHPExcel the external library to use for rendering charts

Parameters

string $libraryName Internal reference name of the library: e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH

Return value

boolean Success or failure

1 call to PHPExcel_Settings::setChartRendererName()
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 222

Class

PHPExcel_Settings

Code

public static function setChartRendererName($libraryName) {
  if (!in_array($libraryName, self::$_chartRenderers)) {
    return FALSE;
  }
  self::$_chartRendererName = $libraryName;
  return TRUE;
}