You are here

public function FrxSVGGraph::__construct in Forena Reports 8

Same name in this branch
  1. 8 src/FrxPlugin/Template/FrxSVGGraph.php \Drupal\forena\Template\FrxSVGGraph::__construct()
  2. 8 src/FrxPlugin/Renderer/FrxSVGGraph.php \Drupal\forena\FrxPlugin\Renderer\FrxSVGGraph::__construct()

File

src/FrxPlugin/Template/FrxSVGGraph.php, line 33
FrxSVGGraph php SVG Graph generator

Class

FrxSVGGraph

Namespace

Drupal\forena\Template

Code

public function __construct(Report $report) {
  parent::__construct($report);
  $library = forena_library_file('SVGGraph');
  if ($library) {
    require_once $library;
  }
}