Updated the chart. #23

This commit is contained in:
Sander Dorigo 2014-10-08 21:54:46 +02:00
parent 01de230785
commit 3cba673a9c

View File

@ -459,11 +459,11 @@ class ChartController extends BaseController
$data['labels'][] = 'No budget';
$data['series'][0]['data'][] = [
'y' => 0,
'url' => null
'url' => route('budgets.nobudget','session')
];
$data['series'][1]['data'][] = [
'y' => floatval($set) * -1,
'url' => null
'url' => route('budgets.nobudget','session')
];
return Response::json($data);