| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
foreach ($rows['multiValue'] as $key => $val) {
$graph[$key] = array_combine($dateKeys, $rows['multiValue'][$key]);
}
- $chartData =
- array(
- 'legend' => "$legend " . CRM_Utils_Array::value('legend', $rows, ts('Contribution')) . ' ' . ts('Summary'),
- 'values' => $graph[0],
- 'multiValues' => $graph,
- 'barKeys' => CRM_Utils_Array::value('barKeys', $rows, array()),
- );
+ $chartData = array(
+ 'legend' => "$legend " . CRM_Utils_Array::value('legend', $rows, ts('Contribution')) . ' ' . ts('Summary'),
+ 'values' => $graph[0],
+ 'multiValues' => $graph,
+ 'barKeys' => CRM_Utils_Array::value('barKeys', $rows, array()),
+ );
}
// rotate the x labels.
foreach (array(
'xSize',
'ySize',
- 'divName'
+ 'divName',
) as $f) {
if (!empty($rows[$f])) {
$chartData[$f] = $rows[$f];
foreach (array(
'xSize',
'ySize',
- 'divName'
+ 'divName',
) as $f) {
if (!empty($rows[$f])) {
$chartData[$f] = $rows[$f];
return $openFlashChart;
}
+
}