increase minimal vertical spacing for y-axis lables
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 8 May 2005 16:02:28 +0000 (16:02 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 8 May 2005 16:02:28 +0000 (16:02 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@516 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 76115ec..f1e1fe7 100644 (file)
@@ -1582,7 +1582,7 @@ calc_horizontal_grid(image_desc_t   *im)
        else {
            for(i=0;ylab[i].grid > 0;i++){
                pixel = im->ysize / (scaledrange / ylab[i].grid);
-               if (pixel > 5) {
+               if (pixel > 7) {
                    gridind = i;
                    break;
                }