Rev 1928 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1928 | Rev 1934 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | } |
41 | } |
42 | 42 | ||
43 | public LearningResultsChartSem(1.5.0/docs/api/java/lang/String.html">String semesterCode) { |
43 | public LearningResultsChartSem(1.5.0/docs/api/java/lang/String.html">String semesterCode) { |
44 | this.semesterCode = semesterCode; |
44 | this.semesterCode = semesterCode; |
45 | setInternalCode(semesterCode); |
45 | setInternalCode(semesterCode); |
- | 46 | setWidth(300); |
|
- | 47 | setHeight(400); |
|
46 | } |
48 | } |
47 | 49 | ||
48 | public 1.5.0/docs/api/java/lang/String.html">String getSemesterCode() { |
50 | public 1.5.0/docs/api/java/lang/String.html">String getSemesterCode() { |
49 | return semesterCode; |
51 | return semesterCode; |
50 | } |
52 | } |
Line 111... | Line 113... | ||
111 | LegendTitle legend = chart.getLegend(); |
113 | LegendTitle legend = chart.getLegend(); |
112 | legend.setItemFont(new 1.5.0/docs/api/java/awt/Font.html">Font("Helvetica", 1.5.0/docs/api/java/awt/Font.html">Font.PLAIN,25)); |
114 | legend.setItemFont(new 1.5.0/docs/api/java/awt/Font.html">Font("Helvetica", 1.5.0/docs/api/java/awt/Font.html">Font.PLAIN,25)); |
113 | legend.setFrame(BlockBorder.NONE); |
115 | legend.setFrame(BlockBorder.NONE); |
114 | 116 | ||
115 | 117 | ||
116 | 1.5.0/docs/api/java/awt/image/BufferedImage.html">BufferedImage image = chart.createBufferedImage( 300*4, 400*4); |
118 | 1.5.0/docs/api/java/awt/image/BufferedImage.html">BufferedImage image = chart.createBufferedImage(300*4, 400*4); |
117 | 1.5.0/docs/api/java/lang/String.html">String pathGraficoTiposAlunos = Globals.TMP_DIR + java.io.1.5.0/docs/api/java/io/File.html">File.separator + tempName; |
119 | 1.5.0/docs/api/java/lang/String.html">String pathGraficoTiposAlunos = Globals.TMP_DIR + java.io.1.5.0/docs/api/java/io/File.html">File.separator + tempName; |
118 | java.io.1.5.0/docs/api/java/io/File.html">File output = new java.io.1.5.0/docs/api/java/io/File.html">File(pathGraficoTiposAlunos); |
120 | java.io.1.5.0/docs/api/java/io/File.html">File output = new java.io.1.5.0/docs/api/java/io/File.html">File(pathGraficoTiposAlunos); |
119 | 1.5.0/docs/api/javax/imageio/ImageIO.html">ImageIO.write(image, "png", new 1.5.0/docs/api/java/io/FileOutputStream.html">FileOutputStream(output)); |
121 | 1.5.0/docs/api/javax/imageio/ImageIO.html">ImageIO.write(image, "png", new 1.5.0/docs/api/java/io/FileOutputStream.html">FileOutputStream(output)); |
120 | 122 | ||
121 | FileUploaded fileUploaded = new FileUploaded(); |
123 | FileUploaded fileUploaded = new FileUploaded(); |