diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index a06417e3aecccae9c03df913dea3ea27eca29f1b..0325cdef76c3354f15856c0b7e38b35e5ecd2986 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
/* 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) {
}
/* 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.
*/
}
#endif
+ ytr(im,DNAN);
return 0;
}