[rrd-users] Re: -X and GPRINT
Maicon S.
mrkung at gmail.com
Fri Nov 3 18:23:57 MET 2006
Well, im using the following command:
RRDp::cmd "graph $imagem ",
"DEF:vwa=$data:wa:AVERAGE ",
"LINE1:vwa#${color2}:'WA:' GPRINT:vwa:LAST:' Atual\\:%8.2lf %s %%' ",
"GPRINT:vwa:AVERAGE:' Media\\:%8.2lf %s %%' GPRINT:vwa:MAX:'
Maximo\\:%8.2lf %s %%\\n' ",
"HRULE:0#000000 -Y -s e-$time -h 120 -w 700 -E -v 'WA %'
--units-exponent 0 ";
On the graph the Y-grid (vertical) show 0.6 0.7 and so on, on the
GPRINT it shows 600.00m
Maybe I am the one that is missing something.. I know that using DEF
on GPRINT is deprecated, but I tried VDEF without luck too.
On 11/3/06, Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:
> On Fri, Nov 03, 2006 at 09:24:08AM -0200, Maicon S. wrote:
>
> > Im trying to make a graph using the -X key to make it show small
> > values as it is (eg. 0.6 and not 600.00 m) but It seems that it doesnt
> > affect GPRINT statements. Is there anyway that I can force rrdtool to
> > graph all values (including the ones on GPRINT statements) as it is?
>
> You have to modify GPRINT to turn 0.6 into 600.00 m ...
>
> Remove that modifier and you should have what you want. Or am I
> missing something here?
>
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive http://lists.ee.ethz.ch/rrd-users
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>
>
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list