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/program@548 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 3a39ae2..be55741 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;