summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 6bb07bc..2d6e1e5 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -971,6 +971,7 @@ sub findmax ($$) {
$start = exp2seconds($start);
my ($graphret,$xs,$ys) = RRDs::graph
("dummy", '--start', -$start,
+ '--width',$cfg->{Presentation}{overview}{width},
'--end','-'.int($start / $cfg->{Presentation}{detail}{width}),
"DEF:maxping=${rrd}:median:AVERAGE",
'PRINT:maxping:MAX:%le' );