-
Suggestion
-
Resolution: Fixed
-
None
At the moment, when trying to print e.g. the Filter Statistics Portlet, the bars do not get printed unless users choose to print backgrounds.
To fix this we should use DIVs instead of TABLEs to generate bars for statistics.
To do this, replace code such as:
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr><td bgcolor="#3c78b5"> <a title="25"> <img src="Dashboard.jspa_files/spacer.gif" class="hideOnPrint" title="25%" height="10" width="100%"> </a> </td></tr></tbody></table>
with:
<div class="colour-bar"></div>
and add CSS:
colour-bar { border-top: 0.88em solid #3c78b5; }
- causes
-
JRASERVER-16739 Broken bars in Project Statistics portlet
- Closed
- relates to
-
JRASERVER-8861 Bar graphs (eg. on reports) don't print properly
- Closed