From: 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-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a95394ec6d4becfdf3fce36be9e09af872709511;p=rrdtool.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 2745ae9..d531430 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;