daad.madhusudan Posted March 25, 2015 Posted March 25, 2015 I am working on a jasper report which generates pie chart. In this chart, labels are surrounded by rectangular box with black color border. Is there any way to remove these boxes around the labels?I am able to remove the box around chart using expression:chart.getLegend.setBorders(0.0,0.0,0.0,0.0) But I don't know how to do this with labels. Can someone please help me on this?
Solution daad.madhusudan Posted March 27, 2015 Author Solution Posted March 27, 2015 I got the solution for this. I added following two lines of code in my customize methos: piePlot.setLabelOutlinePaint(null); piePlot.setLabelShadowPaint(null); And this removed box around labels :)
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