summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cf44452)
raw | patch | inline | side by side (parent: cf44452)
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) |
program/src/rrd_graph.c | patch | blob | history |
index a06417e3aecccae9c03df913dea3ea27eca29f1b..0325cdef76c3354f15856c0b7e38b35e5ecd2986 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/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;
}