$abc = kehadiran::select(DB::raw('sum(total) as sums'),DB::raw("DATE_FORMAT(day,'%M %Y') as months"))->groupBy('months')->get();
$chart = Charts::database($abc, 'bar', 'highcharts')->title("Kehadiran Jemaat Perbulan")->elementLabel("Total")->dimensions(1000, 500)->responsive(false)->groupBy('months');return view('chart',compact('chart')); }
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HaMdD0
via IFTTT
Aucun commentaire:
Enregistrer un commentaire