You are here

public function HighchartsHandler::__construct in Visualization API 7

Constructor for the Highcharts plugin.

File

includes/plugins/highcharts.inc, line 15
Library plugin for Visualization implementing support for Highcharts.

Class

HighchartsHandler
@file Library plugin for Visualization implementing support for Highcharts.

Code

public function __construct() {
  if (module_exists('libraries')) {
    module_load_include('module', 'libraries', 'libraries');
    $path = libraries_get_path('highcharts');
    $this->available = is_dir('./' . $path);
  }
}