sirgalas/yii2-morrisjs
Composer 安装命令:
composer require sirgalas/yii2-morrisjs
包简介
README 文档
README
I was able to use the extension in the extension, Morris.Donut. So, besides the code specified here, шn order for you to use Morris.Donut, use the following code:
use sirgalas\Morris; echo Morris\Donut::widget([ 'resize' => true, 'element' => 'donutChart', 'data' => [ [ 'label'=>'Download Sales', 'value'=>12 ], [ 'label'=> 'In-Store Sales', 'value'=> 30 ], ['label'=>'Mail-Order Sales', 'value'=> 20 ] ], 'donutColor' => ['#3c8dbc', '#f56954', '#00a65a'], ]);
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-22