[LON-CAPA-cvs] cvs: loncom /xml lonplot.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Fri, 03 Aug 2007 20:48:02 -0000


albertel		Fri Aug  3 16:48:02 2007 EDT

  Modified files:              
    /loncom/xml	lonplot.pm 
  Log:
  - some more backward compatibility improvements for plots
  
  
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.125 loncom/xml/lonplot.pm:1.126
--- loncom/xml/lonplot.pm:1.125	Fri Aug  3 13:44:35 2007
+++ loncom/xml/lonplot.pm	Fri Aug  3 16:48:01 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Dynamic plot
 #
-# $Id: lonplot.pm,v 1.125 2007/08/03 17:44:35 albertel Exp $
+# $Id: lonplot.pm,v 1.126 2007/08/03 20:48:01 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -208,7 +208,7 @@
 	 test        => $sml_test,
 	 description => 'Font size to use in web output (pts)',
 	 edit_type   => 'choice',
-	 choices     => [['5','5 (small)'],'7',['9','9 (medium)'],'10','12',['15','15 (large)']]
+	 choices     => [['5','5 (small)'],'6','7','8',['9','9 (medium)'],'10',['11','11 (large)'],'12','15']
 	 },
      fontface     => {
         default     => 'sans-serif',
@@ -501,7 +501,7 @@
 	 choices     => [keys(%linestyles)]
 	 },
      linewidth => {
-         default     => 4,
+         default     => 2,
          test        => $int_test,
          description => 'Line width (may not apply to all line styles)',
          edit_type   => 'choice',
@@ -713,7 +713,7 @@
 	} elsif ( $Apache::lonplot::plot{'font'} eq 'medium') {
 	    $size = '9';
 	} elsif ( $Apache::lonplot::plot{'font'} eq 'large') {
-	    $size = '15';
+	    $size = '11';
 	} else {
 	    $size = '9';
 	}