summaryrefslogtreecommitdiff
path: root/templates/themes/rrdtool/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/rrdtool/theme.php')
-rw-r--r--templates/themes/rrdtool/theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/themes/rrdtool/theme.php b/templates/themes/rrdtool/theme.php
index 20c68c8e..bfa5bfec 100644
--- a/templates/themes/rrdtool/theme.php
+++ b/templates/themes/rrdtool/theme.php
@@ -19,7 +19,7 @@
$this->boards = explode(' ', $settings['boards']);
$this->spans = Array('minute', 'hour', 'day', 'week', 'month');
- $this->interval = 60;
+ $this->interval = 120;
$this->height = 150;
$this->width = 700;
@@ -36,7 +36,7 @@
// Create graph
if(!rrd_create($file, Array(
'-s ' . $this->interval,
- 'DS:posts:ABSOLUTE:120:0:100000000',
+ 'DS:posts:ABSOLUTE:' . ($this->interval*2) . ':0:100000000',
'RRA:AVERAGE:0.5:1:2880',
'RRA:AVERAGE:0.5:30:672',
'RRA:AVERAGE:0.5:120:732',