create chart from sql
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.
'modules' => [
'chartbuilder'=>[
'class'=> 'yii2learning\chartbuilder\Module'
],
'gridview' => [
'class' => '\kartik\grid\Module',
]
];
./yii migrate/up -p=@yii2learning/chartbuilder/migrations