letyii/yii2-chart

Chart for yii2

Installs: 89

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2014-05-21 12:42 UTC

This package is not auto-updated.

Last update: 2024-03-26 04:07:50 UTC


README

echo letyii\chart\Highcharts::widget([
    'configs' => [
        'chart' => [
            'renderTo' => 'container',
            'type' => 'column',
            'margin' => 75,
            'options3d' => [
                'enabled' => TRUE,
                'alpha' => 15,
                'beta' => 15,
                'depth' => 50,
                'viewDistance' => 25,
            ],
        ],
        'title' =>  [
            'text' => 'Chart rotation demo',
        ],
        'subtitle' => [
            'text' => 'Test options by dragging the sliders below',
        ],
        'plotOptions' => [
            'column' => [
                'depth' => 25,
            ],
        ],
        'series' => [
            ['data' => [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]]
        ],
    ]
]);