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:[EMAIL PROTECTED] 
Sent: Friday, May 23, 2003 1:13 AM
To: [email protected]
Subject: [rrd-users] Bar Graphs


Is there a way to do bar graphs with rrdtool?

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to