ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/graph.pl
(Generate patch)

Comparing projects/cms/source/reports/rrdgraphing/graph.pl (file contents):
Revision 1.19 by tdb, Wed Jun 29 10:26:40 2005 UTC vs.
Revision 1.20 by tdb, Thu Nov 23 16:37:44 2006 UTC

# Line 46 | Line 46 | use RRDs;
46   # define variables that will be read from the config
47   # nb. keep this insync with the config file!
48   use vars qw{
49 <    $imgdir $rrddir
49 >    $imgdir $imgwidth $imgheight $rrddir
50      $maxrrdage $maximgage $deleterrds $deleteimgs
51      $hex_slash $hex_underscore $hex_space $hex_colon $hex_bslash $hex_rbracket
52      $hex_lbracket $hex_plus $hex_hash
# Line 424 | Line 424 | sub makegraph() {
424      push @rrdcmd, "--imgformat=PNG";
425      push @rrdcmd, "--lower-limit=0";
426      push @rrdcmd, "--vertical-label=$vlabel";
427 +    push @rrdcmd, "--width=$imgwidth";
428 +    push @rrdcmd, "--height=$imgheight";
429      # not entirely convinced this is good...
430      push @rrdcmd, "--alt-autoscale-max";
431      # add any further raw commands

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines