graph - overlapping lables in JFreeChart pie charts -


i'm using jfreechart plot data in pie chart. when amount of data getting high labels of graph overlapping shown below?

enter image description here

can 1 suggest me avoid issue , show labels clearly??

-- regards rangana

you use smaller font:

pieplot plot = (pieplot) chart.getplot(); int fontsize = 10; // adjust size here plot.setlabelfont(new font("sansserif", font.plain, fontsize)); 

Comments