summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab533f8)
raw | patch | inline | side by side (parent: ab533f8)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 15 May 2005 14:16:15 +0000 (14:16 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 15 May 2005 14:16:15 +0000 (14:16 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index dbf418df772db677d142ebee1df2c20dc6738aaa..a3994910ce98e42538d00444edf8e3d731b6e701 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
node=gfx_new_area ( im->canvas,
0, 0,
- im->ximg, 0,
- im->ximg, im->yimg,
+ 0, im->yimg,
+ im->ximg, im->yimg,
im->graph_col[GRC_BACK]);
- gfx_add_point(node,0, im->yimg);
+ gfx_add_point(node,im->ximg, 0);
#ifdef WITH_PIECHART
if (piechart != 2) {
return (-1);
}
}
- gfx_render (im->canvas,im->ximg,im->yimg,0x0,fo);
+ gfx_render (im->canvas,im->ximg,im->yimg,0x00000000,fo);
if (strcmp(im->graphfile,"-") != 0)
fclose(fo);
return 0;