summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b4be748)
raw | patch | inline | side by side (parent: b4be748)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 6 Jan 2009 15:45:53 +0000 (15:45 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 6 Jan 2009 15:45:53 +0000 (15:45 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index d1343b989e0d2aa4a4200c9a6dcc31c04285d803..613446ff0e3f6db6fc838f2e568395b74615cf89 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
if (im->gdes[i].yrule > 0) {
gfx_line(im,
im->xorigin + ii,
- im->yorigin,
+ im->yorigin + 1.0,
im->xorigin + ii,
im->yorigin -
im->gdes[i].yrule *
} else if (im->gdes[i].yrule < 0) {
gfx_line(im,
im->xorigin + ii,
- im->yorigin - im->ysize,
+ im->yorigin - im->ysize - 1.0,
im->xorigin + ii,
- im->yorigin - (1 -
+ im->yorigin - im->ysize -
im->gdes[i].
- yrule) *
+ yrule *
im->ysize, 1.0, im->gdes[i].col);
}
}