[LON-CAPA-cvs] cvs: loncom /cgi graph.gif

minaeibi lon-capa-cvs@mail.lon-capa.org
Fri, 01 Nov 2002 22:12:46 -0000


minaeibi		Fri Nov  1 17:12:46 2002 EDT

  Modified files:              
    /loncom/cgi	graph.gif 
  Log:
  fixed bug #899
  
  
  
Index: loncom/cgi/graph.gif
diff -u loncom/cgi/graph.gif:1.14 loncom/cgi/graph.gif:1.15
--- loncom/cgi/graph.gif:1.14	Tue Aug  6 14:10:03 2002
+++ loncom/cgi/graph.gif	Fri Nov  1 17:12:46 2002
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: graph.gif,v 1.14 2002/08/06 18:10:03 minaeibi Exp $
+# $Id: graph.gif,v 1.15 2002/11/01 22:12:46 minaeibi Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -61,11 +61,7 @@
     $Range1=270;
     $Range2=200;
 } else {
-    if ( $PNo > 10 ) {
-	$Range1 = 20*$PNo;
-    } else { 
-        $Range1 = 250+30*$PNo; 
-  }
+    $Range1=450;#250+30*$PNo; 
     $Range2=200; 
 }