From: oetiker Date: Sun, 8 May 2005 16:02:28 +0000 (+0000) Subject: increase minimal vertical spacing for y-axis lables X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3085ee8a139da72b123b4c5f559d322a0325f6db;p=rrdtool-all.git increase minimal vertical spacing for y-axis lables git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@516 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 76115ece..f1e1fe7e 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -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; }