【文件属性】:
文件名称:phphc:帮助在php项目中创建和配置highcharts
文件大小:12KB
文件格式:ZIP
更新时间:2021-04-27 14:14:19
PHP
Highcharts的WIP php lib
highcharts js lib的包装程序,可通过php数组轻松配置图表。
<?php
use Petesiss \ PhpHc \ ChartFactory ;
use Petesiss \ PhpHc \ Renderer \ Renderer ;
$ factory = new ChartFactory ();
$ chart = $ factory -> create ()
-> setChart ( array ( 'renderTo' => 'container' , 'type' => 'line' ))
-> setTitle ( array ( 'text' => 'Traffic Flow' ))
-> setXAxis ( array ( 'categories' => array ( 'Mo
【文件预览】:
phphc-master
----.gitignore(72B)
----src()
--------Petesiss()
----.travis.yml(72B)
----LICENSE(1KB)
----composer.json(576B)
----README.md(2KB)
----tests()
--------bootstrap.php(305B)
--------Petesiss()
----phpunit.xml.dist(264B)