mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Improved chart for #2938
This commit is contained in:
@@ -58,7 +58,7 @@ trait ChartGeneration
|
||||
$cache->addProperty('chart.account.account-balance-chart');
|
||||
$cache->addProperty($accounts);
|
||||
if ($cache->has()) {
|
||||
return $cache->get(); // @codeCoverageIgnore
|
||||
//return $cache->get(); // @codeCoverageIgnore
|
||||
}
|
||||
Log::debug('Regenerate chart.account.account-balance-chart from scratch.');
|
||||
/** @var GeneratorInterface $generator */
|
||||
@@ -97,6 +97,7 @@ trait ChartGeneration
|
||||
}
|
||||
$chartData[] = $currentSet;
|
||||
}
|
||||
var_dump($chartData);exit;
|
||||
$data = $generator->multiSet($chartData);
|
||||
$cache->store($data);
|
||||
|
||||
|
Reference in New Issue
Block a user