From 5db43283c08b014a01de198af64d4fdd7817c7c6 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/program@515 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 95f438b..76115ec 100644 --- a/src/rrd_graph.c +++ b/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.11.0