[rrd-users] Re: RRD::GRAPH

Alex van den Bogaerdt alex at ergens.op.HET.NET
Tue Jun 18 13:22:35 MEST 2002


=?iso-8859-1?Q?I=F1aki_Mart=EDnez?= wrote:

>   With this i have each 12 hours a vertical line and each day a major
>  vertical line with the text day (3 chars) CENTERED respect major
>  vertical lines when i want between major vertical lines like above.
> 
>   I do not understand the precission parameter........

"Precision" is just a number of seconds.  This number is then
transformed in a number of pixels, divided by two, added to the
position of the major grid line.

   |                                    |
   +------------------------------------+

   <--- # of pixels represents 1 day --->

                      ^
                      |
                      |
   precision == 86400, position is halfway two major grid lines

   ^
   |
   |
   precision == 0, position is at the major grid line
   


   |                                     |
   +-------------------------------------+
   <--- # of pixels represents 1 hour --->
                      ^
                      |
                      |
   precision == 3600, position is halfway two major grid lines
   ^
   |
   |
   precision == 0, position is at the major grid line


HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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