Removed iconv thing that doesn't seem to matter. See screenshot at https://imgur.com/8r26ZZu

This commit is contained in:
James Cole 2015-04-05 21:12:31 +02:00
parent 293cd72001
commit 59998573ee

View File

@ -89,7 +89,7 @@ class GoogleChartController extends Controller
$index = 1; $index = 1;
/** @var Account $account */ /** @var Account $account */
foreach ($accounts as $account) { foreach ($accounts as $account) {
$accountName = iconv('UTF-8', 'ASCII//TRANSLIT', $account->name); $accountName = $account->name;//iconv('UTF-8', 'ASCII//TRANSLIT', $account->name);
$chart->addColumn('Balance for ' . $accountName, 'number'); $chart->addColumn('Balance for ' . $accountName, 'number');
$chart->addCertainty($index); $chart->addCertainty($index);
$index++; $index++;
@ -108,7 +108,7 @@ class GoogleChartController extends Controller
$current->addDay(); $current->addDay();
} }
$chart->generate(); $chart->generate();
//header('Content-Type: application/json; charset=utf-8');
return Response::json($chart->getData()); return Response::json($chart->getData());
} }