farhat Posted September 24, 2009 Share Posted September 24, 2009 I'm having an issue in jasperreports-3.6.0 with labels in axis and legends not displaying for charts. It seems to work fine in my windows environment but not on a redhat linux box. Has anybody else seen similar behavior and how to fix it? Attached is the LineChartReport.pdf that's generated from the sample code. Notice how the labels are missing in the legend and on the axis. Post Edited by farhat at 09/24/2009 02:24 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 24, 2009 Share Posted September 24, 2009 Hi, Do you run this sample from within the JR project distribution tree? Or you have deployed it into some other application?Can you try set the "renderType" property of the chart to "svg" or "image", and see how it goes? Thank you,Teodor Link to comment Share on other sites More sharing options...
farhat Posted September 24, 2009 Author Share Posted September 24, 2009 I'm running it from within the JR distribution. It works fine when the renderType is 'image' but the quality is poor. 'svg' and 'draw' types are the ones causing the axis/labels not to display and I would really like to use those. Thanks, Farhat Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 29, 2009 Share Posted September 29, 2009 Hi, Can you try set the following config property to false, in the jasperreports.properties file, or as custom property in the JRXML?http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.pdf.force.svg.shapes Thank you,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now