[rt-users] Printing Charts

April Rosenberg aprilr at yelp.com
Thu Feb 14 19:10:47 EST 2013

Thanks.  It took me a bit to get it to work with my directory structure,
but I am now able to print charts.


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Thomas
Sent: Tuesday, February 12, 2013 1:36 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Printing Charts

On 02/11/2013 06:54 PM, April Rosenberg wrote:
> Good Afternoon,
> I am running 4.0.5 on Ubuntu.  After creating queries and going to the
> chart options.  I cannot print the charts out, it is the title and the
> rest is a blank page in IE and Firefox.  There are no errors in the
> apache logs and the charts appear fine.  This is true of pie and bar
> charts.  I have tried searching, but most info is about display being
> broken as well as printing.  I am using the default template, with a
> change in color on css only.
> Does anyone have any ideas?

The print stylesheet is specifically hiding all content on the Charts
page, but I'm not sure why.  It's a holdover from an older print
stylesheet (before the new one in 4.0.5), and I suspect it's a mistake and
hiding too much by accident.

Try applying this patch:

   curl -s https://github.com/bestpractical/rt/commit/ed77c63.patch \
       | patch -p1 -d /opt/rt4

and then clearing your Mason cache and restarting RT.  You'll need to
clear your browser cache (or force reload the page) as well since it will
aggressively cache the print styles.

I expect the patch above will be in the next release of RT.

RT training in Amsterdam, March 20-21:

Help improve RT by taking our user survey:

More information about the rt-users mailing list