FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Website Feedback
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: graphs
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


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 
 Topics Author  Date
 graphs   new
dagoon 24-05-02 14:20 
 Re: graphs, bug 160   new
dagoon 27-05-02 06:04 
 Re: graphs   new
JunkMale 28-05-02 00:54 
 Re: graphs   new
dagoon 28-05-02 06:41 
 Re: graphs   new
dagoon 29-05-02 07:07 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.