|
|
@ -312,7 +312,7 @@ public class ChartComponent extends MiddleChartComponent implements MouseListene |
|
|
|
// chartGlyph.draw(g2d, ScreenResolution.getScreenResolution());
|
|
|
|
// chartGlyph.draw(g2d, ScreenResolution.getScreenResolution());
|
|
|
|
//不直接画chartGlyph而画image的原因是表单的柱形图会溢出表单
|
|
|
|
//不直接画chartGlyph而画image的原因是表单的柱形图会溢出表单
|
|
|
|
//其他图都ok,其实感觉应该是柱形图画的不对,应该也可以改那边
|
|
|
|
//其他图都ok,其实感觉应该是柱形图画的不对,应该也可以改那边
|
|
|
|
Image chartImage = chartGlyph.toImage(chartWidth,chartHeight,ScreenResolution.getScreenResolution()); |
|
|
|
Image chartImage = chartGlyph.toImage(chartWidth,chartHeight,ScreenResolution.getScreenResolution(), this); |
|
|
|
g2d.drawImage(chartImage, 0, 0, null); |
|
|
|
g2d.drawImage(chartImage, 0, 0, null); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|