title = 'Statistiques' ;
use dosamigos\chartjs\ChartJs;
$this->params['breadcrumbs'][] = 'Statistiques';
?>
Statistiques
= ChartJs::widget([
'type' => 'line',
'options' => [
'height' => 400,
'width' => 1100
],
'data' => [
'labels' => $dataLabels,
'datasets' => [
[
'label' => 'Recettes commandes',
'backgroundColor' => "rgb(187,135,87,0.5)",
'borderColor' => "rgb(187,135,87,1)",
'pointBackgroundColor' => "rgb(187,135,87,1)",
'pointStrokeColor' => "#fff",
'data' => $data
]
]
]
]);
?>