ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/IscreamLayout.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/IscreamLayout.java (file contents):
Revision 1.9 by pjm2, Sun Jan 7 13:55:13 2001 UTC vs.
Revision 1.10 by pjm2, Sun Jan 7 13:58:05 2001 UTC

# Line 78 | Line 78 | public class IscreamLayout {
78                  graphTitle = "Hourly report from "+DateUtils.dateString(startDate)+" to "+DateUtils.dateString(endDate);
79                  scaleRow = " <tr><td>&nbsp;</td>";
80                  for (long i = startDate; i < endDate; i+=DateUtils.secsPerHour/6){
81 <                    scaleRow += "<td>"+DateUtils.timeString(i)+"</td>";
81 >                    scaleRow += "<td><font size=\"2\">"+DateUtils.timeString(i)+"</font></td>";
82                  }
83                  scaleRow += "</tr>";
84                  colspan = 6;
# Line 87 | Line 87 | public class IscreamLayout {
87                  graphTitle = "24 hour report from "+DateUtils.dateString(startDate)+" to "+DateUtils.dateString(endDate);
88                  scaleRow = " <tr><td>&nbsp;</td>";
89                  for (int i = 0; i < 24; i++){
90 <                    scaleRow += "<td>"+i+"</td>";
90 >                    scaleRow += "<td><font size=\"2\">"+i+"</font></td>";
91                  }
92                  scaleRow += "</tr>";
93                  colspan = 24;
# Line 96 | Line 96 | public class IscreamLayout {
96                  graphTitle = "7 day report from "+DateUtils.shortDateString(startDate)+" to "+DateUtils.shortDateString(endDate);
97                  scaleRow = " <tr><td>&nbsp;</td>";
98                  for (long i = startDate; i < endDate; i+=DateUtils.secsPerDay){
99 <                    scaleRow += "<td>"+i+"</td>";
99 >                    scaleRow += "<td>"+DateUtils.dayName(i)+"</td>";
100                  }
101                  scaleRow += "</tr>";
102                  colspan = 7;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines