[rrd-users] generate an empty graph???

D. Walsh info at daleenterprise.com
Mon Oct 31 12:49:11 MET 2005


I have the following statement:
rrd_graph(img/afp-monthly.png '--start=1128333600' \
'--end=1130752800' \
'--imgformat=PNG' \
'--title=AFP Connections (4 weeks to Mon Oct 31 05:00:00 2005)' \
'--width=520' \
'--vertical-label=users/min' \
'COMMENT:\n' \
'COMMENT:site-stats v0.1.11\r')

using rrdtool-1.0.49, it generated an empty graph and returns the  
following results:

Array
(
     [xsize] => 611
     [ysize] => 185
     [calcpr] => Array
         (
         )

)

using rrdtool-1.2.11, it doesn't generate an empty graph and returns  
the following results:

Array
(
     [xsize] => 0
     [ysize] => 0
     [calcpr] => Array
         (
         )

)

How can I get it to create the graph even if it doesn't contain any  
data:




--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list