From e880816c8b3c093e4655b651b8e3b60d46a097f2 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 22 Jul 2005 13:16:18 +0000 Subject: [PATCH] init ytr after all the changes have happened git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@659 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index a06417e3..0325cdef 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -2242,13 +2242,12 @@ graph_size_location(image_desc_t *im, int elements /* reserve space for main and/or pie */ im->yimg = Ymain + Yxlabel; - + #ifdef WITH_PIECHART if (im->yimg < Ypie) im->yimg = Ypie; #endif im->yorigin = im->yimg - Yxlabel; - ytr(im,DNAN); /* reserve space for the title *or* some padding above the graph */ if (Ytitle) { @@ -2260,7 +2259,7 @@ graph_size_location(image_desc_t *im, int elements } /* reserve space for padding below the graph */ im->yimg += Yspacing; - + /* Determine where to place the legends onto the image. ** Adjust im->yimg to match the space requirements. */ @@ -2289,6 +2288,7 @@ graph_size_location(image_desc_t *im, int elements } #endif + ytr(im,DNAN); return 0; } -- 2.30.2