--- loncom/interface/statistics/lonproblemanalysis.pm 2004/01/30 16:31:36 1.63 +++ loncom/interface/statistics/lonproblemanalysis.pm 2004/02/02 19:32:11 1.64 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.63 2004/01/30 16:31:36 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.64 2004/02/02 19:32:11 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -301,6 +301,7 @@ sub RR_Tries_Foil_Analysis { 'Percent Choosing', 100, ['#33ff00','#ff3300'], + undef, \@PlotData_Correct, \@PlotData_Incorrect); } @@ -493,7 +494,7 @@ sub OR_Tries_Foil_Analysis { } my $correctgraph = &Apache::loncommon::DrawBarGraph ($title,'Foil Number','Percent Correct', - 100,$plotcolors,$Datasets[0]); + 100,$plotcolors,undef,$Datasets[0]); $analysis_html.= ''.$correctgraph.''; ## ## @@ -512,7 +513,7 @@ sub OR_Tries_Foil_Analysis { $title = 'Attempt '.$i.', '.$count; my $incorrectgraph = &Apache::loncommon::DrawBarGraph ($title,'Foil Number','% Option Chosen Incorrectly', - 100,$plotcolors,@Datasets); + 100,$plotcolors,undef,@Datasets); $analysis_html.= ''.$incorrectgraph.''; $analysis_html.= ''.$foilkey."\n"; } @@ -579,7 +580,7 @@ sub OR_Tries_Concept_Analysis { $title = 'Attempt '.$i.', '.$count; my $graphlink = &Apache::loncommon::DrawBarGraph ($title,'Concept Number','Percent Correct', - 100,$plotcolors,$PlotData[$i]->{'_correct'}); + 100,$plotcolors,undef,$PlotData[$i]->{'_correct'}); $analysis_html.= ''.$graphlink."\n"; } $analysis_html .= "\n"; @@ -744,6 +745,7 @@ sub OR_Foil_Time_Analysis { 'Percent Correct', 100, $plotcolors, + undef, $Plotdata[0]); for (my $j=0; $j< scalar(@{$Plotdata[0]});$j++) { $Plotdata[0]->[$j]=0; @@ -761,6 +763,7 @@ sub OR_Foil_Time_Analysis { 'Incorrect Option Choice', 100, $plotcolors, + undef, @Plotdata); $analysis_html.=''. ''.$correctplot.''. @@ -825,6 +828,7 @@ sub OR_Concept_Time_Analysis { 'Percent Correct', 100, $plotcolors, + undef, \@Plotdata); $analysis_html.=''. ''.$correctplot.''.