aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--type/Base.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php
index 1452d43..8d51121 100644
--- a/type/Base.class.php
+++ b/type/Base.class.php
@@ -284,10 +284,13 @@ class Type_Base {
284 $rrdgraph[] = '--base'; 284 $rrdgraph[] = '--base';
285 $rrdgraph[] = $this->base; 285 $rrdgraph[] = $this->base;
286 } 286 }
287 if (!array_search('-l', $rrdgraph)) {
288 $rrdgraph[] = '-l';
289 $rrdgraph[] = '0';
290 }
287 $rrdgraph = array_merge($rrdgraph, array( 291 $rrdgraph = array_merge($rrdgraph, array(
288 '-w', is_numeric($this->width) ? $this->width : 400, 292 '-w', is_numeric($this->width) ? $this->width : 400,
289 '-h', is_numeric($this->height) ? $this->height : 175, 293 '-h', is_numeric($this->height) ? $this->height : 175,
290 '-l', '0',
291 '-t', $this->rrd_title 294 '-t', $this->rrd_title
292 )); 295 ));
293 if ($this->rrd_vertical) { 296 if ($this->rrd_vertical) {