From: Tobias Oetiker Date: Sun, 1 May 2005 22:04:34 +0000 (+0000) Subject: add some more vertical space above the graph if no title is available X-Git-Tag: 1.2.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24306e50f7f73ce0bad73ee914dea4b84920e900;p=thirdparty%2Frrdtool-1.x.git add some more vertical space above the graph if no title is available git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@471 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2745ae95..d531430e 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -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;