I sent this to the users list, but didn't get any response. The code below creates some weirdness on the Y-axis. Can I just force rrdgraph to output unit labels with 1 decimal place. Right now the graph gives me two labeled lines, both are "13".<br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Casey McGinty</b> <span dir="ltr"><<a href="mailto:casey.mcginty@gmail.com">casey.mcginty@gmail.com</a>></span><br>
Date: Tue, Jul 6, 2010 at 8:37 PM<br>Subject: Problems w/ Y-Axis Units<br>To: <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br><br><br>Hi,<br><br>Can someone show me how to get a better Y-axis on this graph? It would be nice if it could indicate the first decimal value. I know --rigid will adjust the range enough to fix it, but I like having a little padding on the top and bottom. I'm running RRDtool 1.3.8 <br>
<br>rrdtool create test.rrd \<br> --step 36000\<br> --start 1278216000\<br> DS:test:GAUGE:36000:U:U \<br> RRA:AVERAGE:0:1:450<br><br>rrdtool update test.rrd 1278216000:1.2995109312e+01<br>rrdtool update test.rrd 1278252000:1.2386894574e+01<br>
rrdtool update test.rrd 1278288000:1.2756351457e+01<br>rrdtool update test.rrd 1278324000:1.2922753446e+01<br>rrdtool update test.rrd 1278360000:1.2355706091e+01<br>rrdtool update test.rrd 1278396000:1.3136786020e+01<br>
rrdtool update test.rrd 1278432000:1.2281093692e+01<br>
rrdtool update test.rrd 1278468000:1.2874299159e+01<br><br>rrdtool graph test.png --start 1262304000 --end 1278468000 \<br> --alt-autoscale \<br> --alt-y-grid \<br> --width 450 \<br> --height 125 \<br>
DEF:test=test.rrd:test:AVERAGE \<br> LINE1:test#FF0000:test<br>
</div><br>