You are here

public static function PHPExcel_Settings::setChartRenderer in Loft Data Grids 7.2

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

Set details of the external library that PHPExcel should use for rendering charts

Parameters

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

string $libraryBaseDir Directory path to the library's base folder:

Return value

boolean Success or failure

3 calls to PHPExcel_Settings::setChartRenderer()
35chartrender.php in vendor/phpoffice/phpexcel/Examples/35chartrender.php
36chartreadwriteHTML.php in vendor/phpoffice/phpexcel/Examples/36chartreadwriteHTML.php
36chartreadwritePDF.php in vendor/phpoffice/phpexcel/Examples/36chartreadwritePDF.php

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php, line 206

Class

PHPExcel_Settings

Code

public static function setChartRenderer($libraryName, $libraryBaseDir) {
  if (!self::setChartRendererName($libraryName)) {
    return FALSE;
  }
  return self::setChartRendererPath($libraryBaseDir);
}