diff options
| author | hartmut <noreply@maennchen1.de> | 2016-12-21 15:13:25 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2016-12-21 15:13:25 +0000 |
| commit | 1a5382bd8186a4a41eb3d7ff032d7f34784ac61e (patch) | |
| tree | d35c8f342d10d8229f4d9796396878b248200fc3 /views/mods/mod_statistics/charttopsellertosales | |
| parent | 07d2750b65a9e0ed21061d6e3acd2501083a48a3 (diff) | |
Korrektur Notizen und Warnungen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5997 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_statistics/charttopsellertosales')
| -rw-r--r-- | views/mods/mod_statistics/charttopsellertosales/all.phtml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/views/mods/mod_statistics/charttopsellertosales/all.phtml b/views/mods/mod_statistics/charttopsellertosales/all.phtml index dfff484..6544b94 100644 --- a/views/mods/mod_statistics/charttopsellertosales/all.phtml +++ b/views/mods/mod_statistics/charttopsellertosales/all.phtml @@ -20,7 +20,15 @@ <div class="wpsg_clearer"></div>
<?php
-
+ $barChartJS = Array();
+ $pieChartJS = Array();
+ $barChartJS['amount'] = '';
+ $barChartJS['payment'] = '';
+ $barChartJS['total'] = '';
+
+ $pieChartJS['amount'] = '';
+ $pieChartJS['sales'] = '';
+
foreach ($this->view['chart']['data']['records'] as $data)
{
$barChartJS['payment'] .= "'".wpsg_hspc($data['name'])."', ";
@@ -83,7 +91,7 @@ fontWeight: 'normal',
textColor: '#666666'
},
- label:'<?php echo wpsg_hspc($this->view['chart']['info']['xaxis']['label']); ?>',
+ label:'<?php echo wpsg_hspc(wpsg_getStr($this->view['chart']['info']['xaxis']['label'])); ?>',
labelOptions: {
fontFamily: 'Arial',
fontSize: '14pt',
|
