From: oetiker Date: Thu, 12 May 2005 11:28:13 +0000 (+0000) Subject: make the areas a little bigger still for propper overlapping X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=542517c4d88827e9dcabdbc9185b76a53c33dbfd;p=rrdtool.git make the areas a little bigger still for propper overlapping git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@548 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 3a39ae2..be55741 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2541,13 +2541,13 @@ graph_paint(image_desc_t *im, char ***calcpr) } if ( !isnan(ybase0) ){ node = gfx_new_area(im->canvas, - (double)ii-1.1+(double)im->xorigin,ybase0-0.1, - (double)ii-1.1+(double)im->xorigin,ytop0+0.1, - (double)ii+0.1+(double)im->xorigin,ytop+0.1, + (double)ii-1.2+(double)im->xorigin,ybase0-0.2, + (double)ii-1.2+(double)im->xorigin,ytop0+0.2, + (double)ii+0.2+(double)im->xorigin,ytop+0.2, im->gdes[i].col ); gfx_add_point(node, - (double)ii+0.01+im->xorigin,ybase-0.1 + (double)ii+0.02+im->xorigin,ybase-0.2 ); } ybase0=ybase;