[freeside-commits] freeside/rt/html/RTx/Statistics/DayOfWeek/Elements Chart, NONE, 1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Wed Jun 20 15:29:13 PDT 2007
- Previous message: [freeside-commits] freeside/rt/html/RTx/Statistics/DayOfWeek index.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/rt/html/RTx/Statistics/Elements DateSelectRow, NONE, 1.1.2.2 DurationAsString, NONE, 1.1.2.2 GraphBox, NONE, 1.1.2.2 SelectMultiQueue, NONE, 1.1.2.2 StatColumnMap, NONE, 1.1.2.2 Tabs, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/html/RTx/Statistics/DayOfWeek/Elements
In directory wavetail:/tmp/cvs-serv10375/rt/html/RTx/Statistics/DayOfWeek/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 ---
% $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>
- Previous message: [freeside-commits] freeside/rt/html/RTx/Statistics/DayOfWeek index.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/rt/html/RTx/Statistics/Elements DateSelectRow, NONE, 1.1.2.2 DurationAsString, NONE, 1.1.2.2 GraphBox, NONE, 1.1.2.2 SelectMultiQueue, NONE, 1.1.2.2 StatColumnMap, NONE, 1.1.2.2 Tabs, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list