summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83ce126)
raw | patch | inline | side by side (parent: 83ce126)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Apr 2005 22:00:20 +0000 (22:00 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Apr 2005 22:00:20 +0000 (22:00 +0000) |
* use a smaller font for labeling the axis
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@406 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@406 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_graph.c | patch | blob | history |
index 2fd703eb34ca7e78b8216bc3c664cc623de4da9a..97ede52125f738ee89113359d846267dbade1f06 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
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 */
};
}
#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;i<im->gdes_c;i++){