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=de8915540a7516b30eed5ed975b723fc0cd30f3a;p=rrdtool-all.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@471 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 2745ae95..d531430e 100644 --- a/program/src/rrd_graph.c +++ b/program/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;