PHP开发实例大全(提高卷) 中文完整pdf扫描版[244MB]
- php composer.phar require --prefer-dist miloschuman/yii2-highcharts-widget "dev-master"
使用方法
- use miloschuman\highcharts\Highcharts;
- echo Highcharts::widget([
- 'options' => [
- 'title' => ['text' => 'Fruit Consumption'],
- 'xAxis' => [
- 'categories' => ['Apples', 'Bananas', 'Oranges']
- ],
- 'yAxis' => [
- 'title' => ['text' => 'Fruit eaten']
- ],
- 'series' => [
- ['name' => 'Jane', 'data' => [1, 0, 4]],
- ['name' => 'John', 'data' => [5, 7, 3]]
- ]
- ]
- ]);
转载请注明:谷谷点程序 » yii2安装扩展hightcharts