--- loncom/interface/statistics/lonproblemstatistics.pm 2003/08/29 21:11:25 1.57
+++ loncom/interface/statistics/lonproblemstatistics.pm 2003/12/09 21:14:23 1.63
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemstatistics.pm,v 1.57 2003/08/29 21:11:25 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.63 2003/12/09 21:14:23 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -51,11 +51,20 @@ package Apache::lonproblemstatistics;
use strict;
use Apache::lonnet();
+use Apache::loncommon();
use Apache::lonhtmlcommon;
use Apache::loncoursedata;
use Apache::lonstatistics;
+use Apache::lonlocal;
use Spreadsheet::WriteExcel;
+##
+## Localization notes:
+##
+## in @Fields[0]->{'long_title'} is placed in Excel files and is used as the
+## header for plots created with Graph.pm, both of which more than likely do
+## not support localization.
+##
my @Fields = (
{ name => 'problem_num',
title => 'P#',
@@ -138,7 +147,7 @@ my @Fields = (
title => '#YES',
align => 'right',
color => '#FFDDDD',
- format => '%d',
+ format => '%4.1f',# format => '%d',
sortable => 'yes',
graphable => 'yes',
long_title => 'Number of Students able to Solve' },
@@ -146,7 +155,7 @@ my @Fields = (
title => '#yes',
align => 'right',
color => '#FFDDDD',
- format => '%d',
+ format => '%4.1f',# format => '%d',
sortable => 'yes',
graphable => 'yes',
long_title => 'Number of Students given Override' },
@@ -201,10 +210,10 @@ sub CreateInterface {
my $Str = '';
$Str .= '