Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-14713

Use divs instead of tables for bar graphs so that they appear on printed pages properly

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.13.3
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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;
      
      }
      

      Attachments

        Issue Links

          Activity

            People

              sharwood frother (Inactive)
              anton@atlassian.com AntonA
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: