From 1d5a614e06ba92d44353fda1c27defff3d7e62fb Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 13 Apr 2005 19:53:16 +0000 Subject: [PATCH] tune fontsizes and spacing to be more in line with rrdtool 1.0 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@404 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 95ba70df..2fd703eb 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -34,11 +34,11 @@ #endif text_prop_t text_prop[] = { - { 9.0, RRD_DEFAULT_FONT }, /* default */ - { 11.0, RRD_DEFAULT_FONT }, /* title */ + { 8.0, RRD_DEFAULT_FONT }, /* default */ + { 9.0, RRD_DEFAULT_FONT }, /* title */ { 8.0, RRD_DEFAULT_FONT }, /* axis */ - { 9.0, RRD_DEFAULT_FONT }, /* unit */ - { 9.0, RRD_DEFAULT_FONT } /* legend */ + { 8.0, RRD_DEFAULT_FONT }, /* unit */ + { 8.0, RRD_DEFAULT_FONT } /* legend */ }; xlab_t xlab[] = { @@ -1497,7 +1497,7 @@ leg_place(image_desc_t *im) + legspace[ii] + glue; } - leg_y += im->text_prop[TEXT_PROP_LEGEND].size*1.7; + leg_y += im->text_prop[TEXT_PROP_LEGEND].size*1.8; if (prt_fctn == 's') leg_y -= im->text_prop[TEXT_PROP_LEGEND].size; fill = 0; leg_c = 0; @@ -2762,7 +2762,7 @@ rrd_graph_init(image_desc_t *im) im->minval = DNAN; im->maxval = DNAN; im->unitsexponent= 9999; - im->unitslength= 5; + im->unitslength= 6; im->symbol = ' '; im->viewfactor = 1.0; im->extra_flags= 0; -- 2.30.2