the documentation not talking about this ... so now it is official and I bet
there will soon be people asking why this was only working at the end of a
line. -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@967
a5681a0c-68f1-0310-ab6d-
d61299d08faa
right aligned, and B<\c> for centered. In the next section there is an
example showing how to use centered formatting.
right aligned, and B<\c> for centered. In the next section there is an
example showing how to use centered formatting.
+B<\n> is a valid alias for B<\l> since incomplete parsing in earlier
+versions of rrdtool lead to this behaviour and a number of people has been using it.
+
Normally there are two space characters inserted between every two items
printed into the graph. The space following a string can be suppressed by
putting a B<\g> at the end of the string. The B<\g> also ignores any space
Normally there are two space characters inserted between every two items
printed into the graph. The space following a string can be suppressed by
putting a B<\g> at the end of the string. The B<\g> also ignores any space
}
/* only valid control codes */
if (prt_fctn != 'l' &&
}
/* only valid control codes */
if (prt_fctn != 'l' &&
+ prt_fctn != 'n' && /* a synonym for l */
prt_fctn != 'r' &&
prt_fctn != 'j' &&
prt_fctn != 'c' &&
prt_fctn != 'r' &&
prt_fctn != 'j' &&
prt_fctn != 'c' &&
+ if ( prt_fcnt == 'n' ){
+ prt_fcnt='l';
+ }
+
while (prt_fctn=='g' &&
leg_cc > 0 &&
im->gdes[i].legend[leg_cc-1]==' '){
while (prt_fctn=='g' &&
leg_cc > 0 &&
im->gdes[i].legend[leg_cc-1]==' '){