From 3fb38fec2e8adefdce9d7587209d553c18c53f1d Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 8 May 2005 16:01:40 +0000 Subject: [PATCH] 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 --- program/src/rrd_graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2