Skip to content

phperf/highcharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phperf/highcharts

HighCharts bindings

Build Status Scrutinizer Code Quality Code Climate

Installation

composer require phperf/highcharts

Usage

$hc = new HighCharts();
$hc->addOption('legend', 'enabled', false);
$hc->setTitle($name);
$hc->addOption('plotOptions', 'series', 'point', 'mouseOver', <<<JS
function(){console.log(this.x, this.y)}
JS

$hc->addRow(1, 1);
$hc->addRow(2, 2);
$hc->addRow(3, 3);

$hc->render();