X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_graph.c;h=97ede52125f738ee89113359d846267dbade1f06;hb=593389115650121241900a7a4240b32ae75c436e;hp=2fd703eb34ca7e78b8216bc3c664cc623de4da9a;hpb=d5817adfc53c7615202119507b84f1011defbe1a;p=rrdtool.git diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2fd703e..97ede52 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -36,7 +36,7 @@ text_prop_t text_prop[] = { { 8.0, RRD_DEFAULT_FONT }, /* default */ { 9.0, RRD_DEFAULT_FONT }, /* title */ - { 8.0, RRD_DEFAULT_FONT }, /* axis */ + { 7.0, RRD_DEFAULT_FONT }, /* axis */ { 8.0, RRD_DEFAULT_FONT }, /* unit */ { 8.0, RRD_DEFAULT_FONT } /* legend */ }; @@ -2540,12 +2540,14 @@ graph_paint(image_desc_t *im, char ***calcpr) } #endif - if( !(im->extra_flags & ONLY_GRAPH) ) - axis_paint(im); /* grid_paint also does the text */ if( !(im->extra_flags & ONLY_GRAPH) ) grid_paint(im); + + + if( !(im->extra_flags & ONLY_GRAPH) ) + axis_paint(im); /* the RULES are the last thing to paint ... */ for(i=0;igdes_c;i++){