[rrd-users] Re: Bar Graphs

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri May 23 09:49:21 MEST 2003


The x-axis of a rrdtool graph is time based, that makes the use for bar
graphs limited.

If you want to do time based bar graphs however, you can do that by:

- choosing a very low resolution for your rra's. Then if you graph
  area's, they'll look like bars instantly :)
- do a rrdtool fetch on your database, calculate the average, 
  put it in a variable in your script, and make a cdef that sets the
  value to $variable given it's LTIME.

You might also want to google for rrdbar.

Serge.

-----Original Message-----
From: Lozovsky, Daniel [mailto:daniel.lozovsky at attws.com] 
Sent: Friday, May 23, 2003 1:13 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Bar Graphs


Is there a way to do bar graphs with 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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list