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

Comparing projects/cms/source/reports/DBReporter2/ReportMaker.java (file contents):
Revision 1.2 by pjm2, Sat Feb 3 17:26:07 2001 UTC vs.
Revision 1.3 by pjm2, Sat Feb 3 19:14:37 2001 UTC

# Line 96 | Line 96 | public class ReportMaker {
96              }
97              BufferedImage img = chart.drawChart(plotData, SHTMLLayout.CHART_WIDTH, SHTMLLayout.CHART_HEIGHT, 24, 10, maxY);
98              IscreamChartWriter imgWriter = new IscreamChartWriter();
99 <            imgWriter.writeChart(img, _dateDir + "_" + machine + "_" + reportField + ".gif");
99 >            IscreamFilePlacer placer = new IscreamFilePlacer("/home/cut/pjm2/webpages/reports/");
100 >            File destination = placer.makeDirs(_dateDir, machine, reportField);
101 >            imgWriter.writeChart(img, new File(destination, "chart.gif"));
102              System.out.println("[DEBUG]Point count: " + plotData.countPoints());            
103          }
104          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines