jfreechart图片生成后背景颜色与设置的不符合。
时间: 2015-01-26来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
这是我myeclipse 运行的图片


//生成图片到本地
FileOutputStream fos_jpg=null;
try{
fos_jpg=new FileOutputStream("D:\\loadTest.jpg");
ChartUtilities.writeChartAsJPEG(fos_jpg, chart, 900, 500);

}catch(Exception e){
System.out.println("[e]"+e);
}finally{
try{
fos_jpg.close();
}catch(Exception e){

}
这是我本地生成的图片:


为什么背景图片变了!求高手指教

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行