version 1.24, 2003/10/09 22:04:37
|
version 1.26, 2003/10/16 19:54:42
|
Line 78 Your cookie information is incorrect. W
|
Line 78 Your cookie information is incorrect. W
|
</body> |
</body> |
</html> |
</html> |
END |
END |
return; |
exit; |
} |
} |
|
|
$|=1; # Autoflush after each print/write |
$|=1; # Autoflush after each print/write |
Line 88 my $xlabel = &unescape($ENV{$identifier
|
Line 88 my $xlabel = &unescape($ENV{$identifier
|
my $ylabel = &unescape($ENV{$identifier.'.ylabel'}); |
my $ylabel = &unescape($ENV{$identifier.'.ylabel'}); |
my $Max = $ENV{$identifier.'.Max'}; |
my $Max = $ENV{$identifier.'.Max'}; |
my $NumBars = $ENV{$identifier.'.NumBars'}; |
my $NumBars = $ENV{$identifier.'.NumBars'}; |
my $data1 = $ENV{$identifier.'.data1'}; |
my $NumSets = $ENV{$identifier.'.NumSets'}; |
my $data2 = $ENV{$identifier.'.data2'}; |
my @Colors = split(',',$ENV{$identifier.'.Colors'}); |
|
|
my @data11=split(/\,/,$data1); |
|
my @data12=split(/\,/,$data2); |
|
my $skip_x = 1; |
|
my $bar_width=10; |
|
|
|
# |
# |
# Labels are always digits |
# Labels are always digits |
Line 102 my @xlabels;
|
Line 97 my @xlabels;
|
for (my $nIdx=0; $nIdx<$NumBars; $nIdx++ ) { |
for (my $nIdx=0; $nIdx<$NumBars; $nIdx++ ) { |
$xlabels[$nIdx]=$nIdx+1; |
$xlabels[$nIdx]=$nIdx+1; |
} |
} |
|
my @data; # stores the data for the graph |
|
push(@data,\@xlabels); |
|
for (my $i=1;$i<=$NumSets;$i++) { |
|
push(@data,[split(',',$ENV{$identifier.'.data.'.$i})]); |
|
} |
|
|
my @data =(\@xlabels,\@data11,\@data12); |
my $skip_x = 1; |
|
my $bar_width=10; |
|
|
# |
# |
# Customize graph based on the |
# Customize graph based on the |
Line 146 if (! $MyGraph->set( x_label =>
|
Line 147 if (! $MyGraph->set( x_label =>
|
x_label_skip => $skip_x, |
x_label_skip => $skip_x, |
x_tick_offset => $x_tick_offset, |
x_tick_offset => $x_tick_offset, |
# |
# |
dclrs => [ qw(lgreen dgreen lyellow |
dclrs => \@Colors, |
lpurple cyan lorange)], |
|
bar_width => $bar_width, |
bar_width => $bar_width, |
cumulate => 2, |
cumulate => 2, |
zero_axis => 1, |
zero_axis => 1, |