mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Removed the last floatvals.
This commit is contained in:
@@ -96,7 +96,7 @@ class ChartJsReportChartGenerator implements ReportChartGeneratorInterface
|
||||
];
|
||||
foreach ($entries as $entry) {
|
||||
$data['labels'][] = trim($entry['date']->formatLocalized($format));
|
||||
$data['datasets'][0]['data'][] = floatval($entry['net-worth']);
|
||||
$data['datasets'][0]['data'][] = round($entry['net-worth'], 2);
|
||||
}
|
||||
|
||||
return $data;
|
||||
|
Reference in New Issue
Block a user