From: oetiker Date: Sun, 8 May 2005 16:01:40 +0000 (+0000) Subject: shorten space for y-axis labels a bit X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3fb38fec2e8adefdce9d7587209d553c18c53f1d;p=rrdtool-all.git shorten space for y-axis labels a bit git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@515 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 95f438bc..76115ece 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -2151,7 +2151,7 @@ graph_size_location(image_desc_t *im, int elements } if (im->ylegend[0] != '\0' ) { - Xvertical = im->text_prop[TEXT_PROP_UNIT].size *2; + Xvertical = im->text_prop[TEXT_PROP_UNIT].size *1.6; } @@ -2804,7 +2804,7 @@ rrd_graph_init(image_desc_t *im) im->minval = DNAN; im->maxval = DNAN; im->unitsexponent= 9999; - im->unitslength= 6; + im->unitslength= 5; im->symbol = ' '; im->viewfactor = 1.0; im->extra_flags= 0;