I want to generate a random chart with Erik Charts but is not displaying anything!
$data = DB::table('disease')->get();
$chart = Charts::create('bar', 'highcharts')
->title('My nice chart')
->elementLabel('My nice label')
->labels($data->pluck('disease_id'))
->values($data->pluck('disease_name'))
->responsive(true);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire