Printing Charts

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?

April

[image: Yelp!]

April Rosenberg
e: aprilr@yelp.com t: 415.632.4020

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.

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

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

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:
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey:
https://www.surveymonkey.com/s/N23JW9T