How to override "net.sf.jasperreports.image.dpi" property at report level

1

Hello,

I tried to override net.sf.jasperreports.image.dpi with svg renderType to change the default dpi from 72 to 300 for a specific chart but it doesn't work

Example:
<chart>
    <reportElement x="67" y="252" width="326" height="225" uuid="856d5776-6c3f..">
        <property name="net.sf.jasperreports.image.dpi" value="300"/>
    </reportElement>
    <chartTitle/>
    <chartSubtitle/>
    <chartLegend/>
</chart>

How can I override this property at report level ??

I use jasperrepport 5.6.0.

Thanks.

 

 
maher.hannachi.9's picture
Joined: Dec 22 2016 - 1:20am
Last seen: 2 years 10 months ago

1 Answer:

0

This is a global property. This means you'll need to write your own program to generate your report and to set this property in your program per report.

http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasper...

hozawa's picture
52422
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
Feedback
randomness