This commit is contained in:
James Cole
2018-07-01 09:43:44 +02:00
parent db149ca6e1
commit c24cac68f6
5 changed files with 41 additions and 20 deletions

View File

@@ -90,7 +90,9 @@ class ChartJsGenerator implements GeneratorInterface
if (isset($set['currency_symbol'])) {
$currentSet['currency_symbol'] = $set['currency_symbol'];
}
if(isset($set['backgroundColor'])) {
$currentSet['backgroundColor'] = $set['backgroundColor'];
}
$chartData['datasets'][] = $currentSet;
}