[LON-CAPA-cvs] cvs: loncom /interface/statistics lonsubmissiontimeanalysis.pm

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 08 Jan 2004 15:51:16 -0000


matthew		Thu Jan  8 10:51:16 2004 EDT

  Modified files:              
    /loncom/interface/statistics	lonsubmissiontimeanalysis.pm 
  Log:
  Bug 2478: legend/key for submission time plots
  
  
Index: loncom/interface/statistics/lonsubmissiontimeanalysis.pm
diff -u loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.6 loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.7
--- loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.6	Thu Dec 18 11:36:12 2003
+++ loncom/interface/statistics/lonsubmissiontimeanalysis.pm	Thu Jan  8 10:51:16 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsubmissiontimeanalysis.pm,v 1.6 2003/12/18 16:36:12 matthew Exp $
+# $Id: lonsubmissiontimeanalysis.pm,v 1.7 2004/01/08 15:51:16 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -266,8 +266,11 @@
                                                x_ticks => $bins_per_day,
                                                x_tick_offset => $bins_per_day,
                                                width => 50+2*$bincount,
-                                               y1_label=>'Number of Submissions per hour',
-                                               y2_label=>'Percent of Students answering Correctly')
+                      y1_label=>'Number of Submissions per hour',
+                      y2_label=>'Percent of Students answering Correctly',
+                     'data.1.label'=>'Submissions per hour',
+                     'data.2.label'=>'Percent correct',
+                                               )
                                               );
     $html .= '<br />';
     return $html;