mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Removed iconv thing that doesn't seem to matter. See screenshot at https://imgur.com/8r26ZZu
This commit is contained in:
parent
293cd72001
commit
59998573ee
@ -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());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user