summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4f7117)
raw | patch | inline | side by side (parent: c4f7117)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 3 May 2007 12:49:44 +0000 (12:49 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 3 May 2007 12:49:44 +0000 (12:49 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1053 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 aae131708b4cf5c483d53c72c6615180f973f3d7..35978cf6c7077682c600079a009e77c376f05942 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
pre_value = value;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* major grid line */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,