On Jan 15, 2011, at 12:29 PM, Philip Peake wrote:
Ok ... added -X 0
rrdtool graph hour/req.png -X 0 -a PNG --title="Production Directory
Server Operations Requested" \
--vertical-label="Operations/sec" -w 700 -h 200 -s -7200 \
'DEF:centos=db/req.rrd:centos:LAST' \
'LINE1:centos#0000ff:centos'
which generates this graph:
<req.png>
Not certain that a graph with all zeros on the Y axis is much of an
improvement :-)
It rounded 0.033 to 0.0, I didn't think that would happen.
I believe if you also use "-L 4" to specify how many digits RRD may
use in the Y axis, it will display correctly.
I can't run any tests right now, so I might be wrong here, but -X 0 -L
4 seems to be what you're looking for. If that doesn't work please
read the manual carefully (that link from my previous e-mail), I'm
sure it's not a complicated issue.
Best regards,
Eduardo Bragatto.
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users