2017 © Pedro Peláez
 

yii2-extension yii2-highcharts

jQuery Highcharts extension for the Yii 2 framework

image

maddoger/yii2-highcharts

jQuery Highcharts extension for the Yii 2 framework

  • Saturday, October 31, 2015
  • by maddoger
  • Repository
  • 2 Watchers
  • 0 Stars
  • 73 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

Yii2 Highcharts Wrapper

Highcharts widget is a wrapper of Highcharts for Yii2 Framework., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist maddoger/yii2-highcharts "*"

or add, (*4)

"maddoger/yii2-highcharts": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by:, (*6)

use maddoger\widgets\Highcharts;

echo Highcharts::widget([
        'chartVariable' => 'cpuChart',
        'options' => [
            'style' => 'width: 100%; height: 400px;',
        ],
        'clientOptions' => [
            'chart' => [
                'type' => 'line',
            ],
            'title' => [
                'text' => 'CPU Usage',
            ],
            'xAxis' => [
                'type' => 'datetime',
                'tickPixelInterval' => 150,
                'maxZoom' => 20 * 2000,
            ],
            'yAxis' => [
                'min' => 0,
                'max' => 100,
                'title' => [
                    'text' => '%',
                ],
            ],
            'series' => [
                [
                    'name'=> 'Core 1',
                    'data'=> [],
                ],
                [
                    'name'=> 'Core 2',
                    'data'=> [],
                ],
            ],
        ],
    ]);

The Versions

31/10 2015

dev-master

9999999-dev

jQuery Highcharts extension for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii chart highcharts

31/10 2015

v1.0.2

1.0.2.0

jQuery Highcharts extension for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii chart highcharts

31/10 2015

v1.0.1

1.0.1.0

jQuery Highcharts extension for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii chart highcharts

09/10 2015

v1.0.0

1.0.0.0

jQuery Highcharts extension for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii chart highcharts