Code

make the areas a little bigger still for propper overlapping
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 11:28:13 +0000 (11:28 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 11:28:13 +0000 (11:28 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@548 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.c

index 3a39ae240c804e12665f2f33b8154aff1bf1a073..be5574133d6171310989a33356e785bce5a4d3f0 100644 (file)
@@ -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;