add some more vertical space above the graph if no title is available
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 1 May 2005 22:04:34 +0000 (22:04 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 1 May 2005 22:04:34 +0000 (22:04 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@471 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 2745ae9..d531430 100644 (file)
@@ -2237,8 +2237,8 @@ graph_size_location(image_desc_t *im, int elements
        im->yimg += Ytitle;
        im->yorigin += Ytitle;
     } else {
-       im->yimg += Yspacing;
-       im->yorigin += Yspacing;
+       im->yimg += 1.5*Yspacing;
+       im->yorigin += 1.5*Yspacing;
     }
     /* reserve space for padding below the graph */
     im->yimg += Yspacing;