[rt-users] RTx::Statistics V1.7 Fixes

Stephen Dowdy sdowdy at ucar.edu
Tue Jan 3 14:56:45 EST 2006


I've also noticed that the graphs randomly appear.  It looks to me that sometimes the graphs actually DO draw, but then subsequently disappear on the individual Statistics pages.  Clicking "Download Chart as Image..." *may* bring them back to the display pages on refresh/update.  I'm also seeing some cases where clicking on "Download Chart as Image..." does *nothing*.  If i go back to RT's "Home Page", then back to RTx-Statistics it will start working again (randomly as before).  This is after restarting Apache, too.

------------------------------------------------------------------------

FYI for others who have lots of long named queues...

Another change i've made is to  .../share/html/RTx/Statistics/OpenStalled/Elements/Chart

Since this bar Chart can accomodate an "All Queues" option, and i've got about 30 queues, some containing upto 32 characters in their name, the default horizontal orientation of the X-Axis labels turns into a major smear.

Adding

   x_labels_vertical => 1,

to the $graph->set( ... ); call fixes that.   Of course, when you just have one queue displayed it looks a bit wierd.

------------------------------------------------------------------------

I'm also thinking that perhaps these graphs ought to have Titles on them.  Because, if you're gonna click the "Download Chart as Image" option, there should be some standalone context to the image file.  I think something like:

    $graph->set(...,
        title => 'RT:' . $RT::rtname . ' New, Open and Stalled Tickets per Queue',
        ...);

makes sense.  (just my two cents)

------------------------------------------------------------------------

BTW, I've changed .../lib/RTx/Statistics.pm to make my graphs bigger to accomodate this better.

# Width and Height of all graphics
$GraphWidth=800;
$GraphHeight=600;

--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy at ucar.edu        -  http://www.ral.ucar.edu/~sdowdy/




More information about the rt-users mailing list