yii2-highcharts-widget

用于 Yii2 的 HighCharts Js 小工具。「HighCharts Js Widget for Yii2」

Github星跟蹤圖

HighCharts JS Widget for Yii2

Latest Version
Software License
Build Status
Coverage Status
Quality Score
Total Downloads

The amazing HighCharts JS widget now for Yii2.

Highcharts is one of the best HTML5/Javascript charting libraries on the web. Highcharts JS is free for a non-commercial
project but not if you are developing a product that you are going to make money with.

Visit HighCharts site in order to get more information about the different options of this
plugin and its license pricing.

Installation

The preferred way to install this extension is through composer.

Either run

composer require 2amigos/yii2-highcharts-widget:~1.0

or add

"2amigos/yii2-highcharts-widget" : "~1.0"

to the require section of your application's composer.json file.

Usage

// on your view

<?=
\dosamigos\highcharts\HighCharts::widget([
    'clientOptions' => [
        'chart' => [
                'type' => 'bar'
        ],
        '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]]
        ]
    ]
]);
// ... 

Further Information

Please, check the HighCharts site documentation for further
information about its configuration options.

Using code fixer

We have added a PHP code fixer to standardize our code. It includes Symfony, PSR2 and some contributors rules.

./vendor/bin/php-cs-fixer fix ./src --config .php_cs

Contributing

Please see CONTRIBUTING for details.

Credits

License

The BSD License (BSD). Please see License File for more information.

2amigOS!
Custom Software | Web & Mobile Software Development
www.2amigos.us

主要指標

概覽
名稱與所有者2amigos/yii2-highcharts-widget
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證Other
所有者活动
創建於2014-04-08 18:48:09
推送於2017-07-05 15:02:38
最后一次提交2017-07-05 17:02:37
發布數5
最新版本名稱1.0.3 (發布於 2017-07-05 16:59:48)
第一版名稱0.1.0 (發布於 2014-04-20 12:55:48)
用户参与
星數39
關注者數19
派生數13
提交數19
已啟用問題?
問題數17
打開的問題數3
拉請求數2
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?