Code

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@516 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.c

index 76115eceef47bfe1f278c4acd5330c77ae97fd55..f1e1fe7e3db3ca1a900f48d0c226ada899e4901c 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;
                }