yii2learning/yii2-chart-builder

create chart from sql

0.1.4 2017-09-08 04:12 UTC

This package is not auto-updated.

Last update: 2024-12-22 05:19:00 UTC


README

create chart from sql

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii2learning/yii2-chart-builder "*"

or add

   "yii2learning/yii2-chart-builder": "@dev"

to the require section of your composer.json file.

Config Module

'modules' => [
    'chartbuilder'=>[
        'class'=> 'yii2learning\chartbuilder\Module'
    ],
    'gridview' =>  [
        'class' => '\kartik\grid\Module',
    ]
];

Migrations database

./yii migrate/up -p=@yii2learning/chartbuilder/migrations