summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a3f89c)
raw | patch | inline | side by side (parent: 5a3f89c)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 22 Jul 2005 13:16:18 +0000 (13:16 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 22 Jul 2005 13:16:18 +0000 (13:16 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@659 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_graph.c | patch | blob | history |
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;
}