I am using JFreeChart to create pie charts. I want to set a label inside pie section.But some part of label goes out side of pie section. Please can any one help me? I want to set this label inside the section only.
plot.setLabelFont(new Font("SansSerif", Font.PLAIN, 12));
plot.setNoDataMessage("No data available");
plot.setCircular(true);
plot.setLabelPaint(Color.DARK_GRAY);
plot.setSimpleLabels(true);