phperf / highcharts
HighCharts bindings
v0.0.1
2017-11-23 09:42 UTC
Requires
- phperf/pipeline: ^0.0.1
- swaggest/json: ^1.0
Requires (Dev)
- phpunit/phpunit: ^4.0
This package is auto-updated.
Last update: 2024-12-18 02:09:21 UTC
README
HighCharts bindings
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();