Author: dagoon
Date: 29-05-02 07:07
[16:08] JunkMale: Hey!
I am not yet awake so I can't figure out where in the file it is supposed to go. Line 265 for me is:
imageline($im,
$this->width - $this->margin_r,
$height - $footer_height - $this->axis_height - 1,
$this->margin_l,
$height - $footer_height - $this->axis_height - 1,
$c_axis);
I may have little outtdated version (before code reformatting ot something)
- you have to use context, it's shouldn't be problem to find these two
places...
>
> @@ -265,7 +286,7 @@
> $t = 1000000000;
> while ($t>0.5)
> {
> - if ($max > $t)
> + if ($max >= $t)
> {
> $rmax = ceil($max/$t)*$t; //
> take first point above max
> break;
> @@ -277,6 +298,7 @@
> {
> $rmax=1;
> $max=0;
> + $t=1;
> }
>
> $steps = ($rmax/$t); // how many ticks
>
--
Marcin Gryszkalis
|
|