[freeside-commits] freeside/rt/html/RTx/Statistics/TimeToResolve/Elements Chart, NONE, 1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Wed Jun 20 15:29:31 PDT 2007
Update of /home/cvs/cvsroot/freeside/rt/html/RTx/Statistics/TimeToResolve/Elements
In directory wavetail:/tmp/cvs-serv10375/rt/html/RTx/Statistics/TimeToResolve/Elements
Added Files:
Tag: FREESIDE_1_7_BRANCH
Chart
Log Message:
integrate RTx::Statistics, RT::Extension::ActivityReports package, and RTx::WebCronTool packages, as part of merging spiritone RT changes (#1661)
--- NEW FILE: Chart ---
<%perl>
print $graph->plot(\@data)->$format();
$m->abort();
</%perl>
<%INIT>
use GD::Graph::points;
my @data;
my $graph = GD::Graph::points->new(400,300);
$graph->set(export_format => "png",
marker_size => $ARGS{marker_size},
x_label => 'Average time to resolve (Days)',
y_label => 'Number of tickets resolved' );
#$r->content_type("image/$format");
my $format = $graph->export_format;
push @data, [split /,/ , $ARGS{x_labels}];
for (1..((scalar keys %ARGS)-2)) {
push @data, [split /,/ , $ARGS{"data".$_}];
}
</%INIT>
<%ARGS>
</%ARGS>
More information about the freeside-commits
mailing list