--- loncom/cgi/graph.png 2003/10/29 15:18:09 1.31 +++ loncom/cgi/graph.png 2003/12/18 16:33:02 1.32 @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $Id: graph.png,v 1.31 2003/10/29 15:18:09 matthew Exp $ +# $Id: graph.png,v 1.32 2003/12/18 16:33:02 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -172,6 +172,9 @@ if ($PlotType eq 'bar') { $GraphSettings{'zero_axis'} = 1; if (&get_env('two_axes',0)) { $GraphSettings{'two_axes'} = 1; + $GraphSettings{'y1_label'} = &get_env('y1_label', + $GraphSettings{'y_label'}); + $GraphSettings{'y2_label'} = &get_env('y2_label',''); $GraphSettings{'y1_max_value'} = &get_env('y1_max_value',0); $GraphSettings{'y1_min_value'} = &get_env('y1_min_value',1); $GraphSettings{'y2_max_value'} = &get_env('y2_max_value',1);