diff options
author | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
commit | eb061f5119325e666f0dff40d4089e5c1df58e17 (patch) | |
tree | d55e8fef5aca62eb13bbc8ad20dbdf941c3bd266 /rt/html/RTx/Statistics/DayOfWeek/Elements | |
parent | 3a17b276638200475d54201fa62566b7440e819a (diff) |
This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'.TRIXBOX_2_6
Diffstat (limited to 'rt/html/RTx/Statistics/DayOfWeek/Elements')
-rwxr-xr-x | rt/html/RTx/Statistics/DayOfWeek/Elements/Chart | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/rt/html/RTx/Statistics/DayOfWeek/Elements/Chart b/rt/html/RTx/Statistics/DayOfWeek/Elements/Chart deleted file mode 100755 index 239c09541..000000000 --- a/rt/html/RTx/Statistics/DayOfWeek/Elements/Chart +++ /dev/null @@ -1,26 +0,0 @@ -% $r->content_type("image/$format"); -% $m->print($graph->plot(\@data)->$format()); -% $m->abort(); -<&|/l, $#data+1&>[_1] Elements</&>:<p> -% for (0..$#data) { -<% $data[$_] %><p> -% } -<%INIT> -use GD::Graph::bars; - -my @data; -my $graph = GD::Graph::bars->new($Statistics::GraphWidth,$Statistics::GraphHeight); -$graph->set(export_format => "png", - x_label => 'Day of Week', - y_label => 'Ticket actions per Day by type'); -$graph->set_legend(split /,/ , $ARGS{set_legend}); -push @data, [split /,/ , $ARGS{x_labels}]; -push @data, [split /,/ , $ARGS{data1}]; -push @data, [split /,/ , $ARGS{data2}]; -push @data, [split /,/ , $ARGS{data3}]; - -my $format = $graph->export_format; -$r->content_type("image/$format"); -</%INIT> -<%ARGS> -</%ARGS> |