简体   繁体   English

碧玉报告中具有透明图像的图表

[英]Charts with transparent image in jasper reports

Using JFreeChart, Jasper Reports and Jaspersoft Studio, I try to generate the following chart: 使用JFreeChart,Jasper Reports和Jaspersoft Studio,我尝试生成以下图表:

预期图表

But when I generate a PDF in Jaspersoft Studio, I get the following: 但是,当我在Jaspersoft Studio中生成PDF时,会得到以下信息:

结果图

I'm using an image mask with transparency, which corresponds to this: 我正在使用具有透明度的图像蒙版,它与此对应:

透明度

Is there a config in jasper studio/reports that helps to fix this? jasper studio / reports中是否有一个配置可以解决此问题?

After many tests, I've found the problem. 经过多次测试,我发现了问题所在。 In Jaspersoft studio, choose the chart of your interest, and In chart options, go to Renderer Type and choose image. 在Jaspersoft studio中,选择所需的图表,然后在图表选项中,转到“渲染器类型”并选择“图像”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM