summaryrefslogtreecommitdiff
path: root/views/mods/mod_statistics/chartturnover/all.phtml
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-12-09 14:52:48 +0000
committerhartmut <noreply@maennchen1.de>2016-12-09 14:52:48 +0000
commit6f5379425cbb8ac4e3e95be7c9496b6d508b95ba (patch)
treeba17e1bca2c3722aca72ade838019cf0c2f1b02f /views/mods/mod_statistics/chartturnover/all.phtml
parent9b4baec1311ee5a28e00e4fdd4c6c166d005d5ba (diff)
Backend, Statistic und Korrektur E_NOTICE
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5945 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_statistics/chartturnover/all.phtml')
-rw-r--r--views/mods/mod_statistics/chartturnover/all.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/mods/mod_statistics/chartturnover/all.phtml b/views/mods/mod_statistics/chartturnover/all.phtml
index c9e7181..ead62fd 100644
--- a/views/mods/mod_statistics/chartturnover/all.phtml
+++ b/views/mods/mod_statistics/chartturnover/all.phtml
@@ -4,6 +4,7 @@
if (wpsg_isSizedArray($this->view['chart']['data']))
{
+ unset($this->view['chart']['data']['template']);
for ($i = 0; $i < count($this->view['chart']['data']); $i++)
{
@@ -42,7 +43,7 @@
}
$k++;
}
-
+
if ($j == count($this->view['chart']['data'][$i]['records']) - 1) {
$chartJS['area']['area'.$i] = '['.implode(',', $chartJS['area']['area'.$i]).']';
}
@@ -79,7 +80,7 @@ jQuery(document).ready(function(){
<?php foreach ($chartJS['area'] as $index => $area) { ?>
var <?php echo $index; ?> = <?php echo $area; ?>;
<?php } ?>
-
+
var chartannualturnoverLine = jQuery.jqplot('chartannualturnover-line', [<?php echo implode(',', array_keys($chartJS['area'])); ?>], {
animate: true,
axesDefaults: {