From 600d3bed47fa7cde815d16f642f0b383738395d1 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/program@404 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 95ba70d..2fd703e 100644 --- a/src/rrd_graph.c +++ b/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.11.0