kevkon Posted August 12, 2010 Share Posted August 12, 2010 Is it possible to create a Pie Chart without labels? I only want the slices with the colors and a legend to show up. I do not want lines with numbers pointing to each slice.If this is possible, how do I go about doing it? Link to comment Share on other sites More sharing options...
jasperforum Posted August 12, 2010 Share Posted August 12, 2010 use the customizer class PiePlot3D renderer=(PiePlot3D)chart.getPlot();plot.setLabelOutlinePaint(Color.WHITE); I guess this will work [/code] Link to comment Share on other sites More sharing options...
kevkon Posted August 13, 2010 Author Share Posted August 13, 2010 Unfortunately, this does not work because the labels cover up part of the pie chart as well. This means that errant white lines will run through the chart. Maybe we can make it 100% transparent? Is that possible? Link to comment Share on other sites More sharing options...
teodord Posted August 19, 2010 Share Posted August 19, 2010 Hi, Just force the labels null with:<labelExpression>null</labelExpression> I hope this helps.Teodor Link to comment Share on other sites More sharing options...
parth Posted January 18, 2017 Share Posted January 18, 2017 Nopes <labelExpression>null</labelExpression> did not work. It shows "Series1" 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