Hi Eddie,

On Tue, Oct 29, 2002 at 11:46:46AM -0800, Eddie Urenda wrote:
> Perhaps I am not calling this correctly, but I can't seem to change the
> height/width of the generated graphs using mkStats.pl
> 
> The usage states that:
> 
> usage: mkStats.pl -j <year> -m <month> -x <width> (default 500) -y
> <height> (default 350)
> 
> Yet I can't seem to specify any values for -m and -x beyond the defaults.
> Is there some special way that I should be calling this?
> 
> Using something like:
> 
>       ./mkStats.pl -j 2002 -m 10 -x 250 -y 175

Ja, the min size is -x 350 an -y 350. Because the lable (legend) need this
space. If the size is smaller, GD returns this error.

I added this min. check to the CVS.

Thanks for this info.

> Yields the following error:
> 
> ->> creating stats for 2002/10 <<-
>  writing /opt/OpenTRS/var/pics/stats/2002-10.png
> Can't call method "png" on an undefined value at ./mkStats.pl line 183.
>
> Any help will be greatly appreciated (it may very well be that I am not
> calling the script correctly, but the defaults produce a graph whose
> vertical scale is a bit squished).

Try: ./mkStats.pl -j 2002 -m 10 -x 550 -y 350
 
> -Eddie

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
nohl: 11:09pm  up 6 days,  1:42,  6 users,  load average: 0.16, 0.18, 0.11
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to